Skip to content

Commit

Permalink
Request the focus if yast is running fullscreen (#54)
Browse files Browse the repository at this point in the history
* Request the focus if yast is running fullscreen

Actively request the focus instead of relying on the windows manager
focus policy (and focus issues). This fixes bsc#974627: yast
not having the focus when run with Qt 5.6 under icewm (as in the
installation images).

* Increase version to 2.46.23 and adds entry to changelog

* Increase version to 2.46.23 in the spec files too

* Revert "Request the focus if yast is running fullscreen"

This reverts commit 6fd0314.

* Request the focus if yast is running fullscreen

Actively request the focus instead of relying on the windows manager
focus policy (and focus issues). This fixes bsc#974627: yast
not having the focus when run with Qt 5.6 under icewm (as in the
installation images).
  • Loading branch information
antlarr authored and lslezak committed May 13, 2016
1 parent 2c1db8f commit ce51c49
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION.cmake
@@ -1,6 +1,6 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "46")
SET(VERSION_PATCH "22")
SET(VERSION_PATCH "23")
SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" )

##### This is need for the libyui core, ONLY.
Expand Down
2 changes: 1 addition & 1 deletion package/libyui-qt-doc.spec
Expand Up @@ -20,7 +20,7 @@
%define so_version 7

Name: %{parent}-doc
Version: 2.46.22
Version: 2.46.23
Release: 0
Source: %{parent}-%{version}.tar.bz2

Expand Down
8 changes: 8 additions & 0 deletions package/libyui-qt.changes
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 13 15:47:00 UTC 2016 - alarrosa@suse.com

- Now Yast requests the focus to the window manager when running
fullscreen instead of relying on the window manager focus policy
(bsc#974627)
- 2.46.23

-------------------------------------------------------------------
Tue Apr 5 17:29:56 CEST 2016 - shundhammer@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/libyui-qt.spec
Expand Up @@ -17,7 +17,7 @@


Name: libyui-qt
Version: 2.46.22
Version: 2.46.23
Release: 0
Source: %{name}-%{version}.tar.bz2

Expand Down
3 changes: 3 additions & 0 deletions src/YQWizard.cc
Expand Up @@ -176,6 +176,9 @@ YQWizard::YQWizard( YWidget * parent,
YQMainWinDock::mainWinDock()->resizeVisibleChild();
}

if ( YQUI::ui()->fullscreen() )
topLevelWidget()->activateWindow();

}


Expand Down

0 comments on commit ce51c49

Please sign in to comment.