From 8811bc7cdd845ef14eacbc1f4a8bc1512c9fd928 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 10 Nov 2016 10:02:20 -0500 Subject: 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. --- src-qt5/core/lumina-desktop/LDesktopPluginSpace.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src-qt5') 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) -- cgit