aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-11-10 10:02:20 -0500
committerKen Moore <ken@ixsystems.com>2016-11-10 10:02:20 -0500
commit8811bc7cdd845ef14eacbc1f4a8bc1512c9fd928 (patch)
tree59cabf0901d190017311c752430b39363b01de5e /src-qt5
parentFix the wallpaper background when a screen resizes. (diff)
downloadlumina-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')
-rw-r--r--src-qt5/core/lumina-desktop/LDesktopPluginSpace.h4
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)
bgstack15