diff options
author | Ken Moore <ken@ixsystems.com> | 2016-11-10 10:02:20 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-11-10 10:02:20 -0500 |
commit | 8811bc7cdd845ef14eacbc1f4a8bc1512c9fd928 (patch) | |
tree | 59cabf0901d190017311c752430b39363b01de5e /src-qt5/core/lumina-desktop | |
parent | Fix the wallpaper background when a screen resizes. (diff) | |
download | lumina-8811bc7cdd845ef14eacbc1f4a8bc1512c9fd928.tar.gz lumina-8811bc7cdd845ef14eacbc1f4a8bc1512c9fd928.tar.bz2 lumina-8811bc7cdd845ef14eacbc1f4a8bc1512c9fd928.zip |
Due to some erratic reports of the wallpaper widget not staying on the bottom of the window stack within virtualBox environments: on focus in events for the desktop, lower the window to the bottom of the stack manually.
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r-- | src-qt5/core/lumina-desktop/LDesktopPluginSpace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/LDesktopPluginSpace.h b/src-qt5/core/lumina-desktop/LDesktopPluginSpace.h index 12382db8..abc34878 100644 --- a/src-qt5/core/lumina-desktop/LDesktopPluginSpace.h +++ b/src-qt5/core/lumina-desktop/LDesktopPluginSpace.h @@ -188,6 +188,10 @@ private slots: } protected: + void focusInEvent(QFocusEvent *ev){ + this->lower(); //make sure we stay on the bottom of the window stack + QWidget::focusInEvent(ev); //do normal handling + } void paintEvent(QPaintEvent*ev); //Need Drag and Drop functionality (internal movement) |