From 06622b28748bcf07ffe75ac9427e4a00373e99d7 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 29 Jan 2018 14:19:45 -0500 Subject: Some more updates for Lumina 2: Almost have the transparent windows getting layered properly. --- .../lumina-desktop-unified/src-events/NativeWindowSystem.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp') 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 063c1337..3d6b0f3e 100644 --- a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp +++ b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp @@ -962,6 +962,17 @@ void NativeWindowSystem::CheckDamageID(WId win){ } } +void NativeWindowSystem::raiseWindow(NativeWindowObject *win){ + qDebug() << "Raise Window:" << win->name(); + xcb_circulate_window(QX11Info::connection(), XCB_CIRCULATE_RAISE_LOWEST ,win->id()); +} + + +void NativeWindowSystem::lowerWindow(NativeWindowObject *win){ + qDebug() << "Lower Window:" << win->name(); + xcb_circulate_window(QX11Info::connection(), XCB_CIRCULATE_LOWER_HIGHEST ,win->id()); +} + // === PRIVATE SLOTS === //These are the slots which are built-in and automatically connected when a new NativeWindow is created -- cgit