From 7631c2f6f6a76324b89517ce32a3f41c37bd4e61 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 29 Jan 2018 18:22:06 -0500 Subject: Make sure that the desktop canvas is always 2nd from the top of the stack of invisible windows. --- src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src-qt5/core/lumina-desktop-unified/src-events') diff --git a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp index 28c223ab..e23050f3 100644 --- a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp +++ b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp @@ -965,6 +965,8 @@ void NativeWindowSystem::CheckDamageID(WId win){ void NativeWindowSystem::raiseWindow(NativeWindowObject *win){ qDebug() << "Raise Window:" << win->name(); + //Note: Always ensure the desktop canvas is right under the main window that is raised + xcb_circulate_window(QX11Info::connection(), XCB_CIRCULATE_RAISE_LOWEST, Lumina::ROOTWIN->viewID()); xcb_circulate_window(QX11Info::connection(), XCB_CIRCULATE_RAISE_LOWEST ,win->id()); } -- cgit