diff options
author | Ken Moore <ken@ixsystems.com> | 2018-01-29 14:19:45 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-01-29 14:19:45 -0500 |
commit | 06622b28748bcf07ffe75ac9427e4a00373e99d7 (patch) | |
tree | cfcacd852b0d528c1a24ada09adfc128f6925b4a /src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp | |
parent | Add a quick 10-second failover timer to LScreensaver: (diff) | |
download | lumina-06622b28748bcf07ffe75ac9427e4a00373e99d7.tar.gz lumina-06622b28748bcf07ffe75ac9427e4a00373e99d7.tar.bz2 lumina-06622b28748bcf07ffe75ac9427e4a00373e99d7.zip |
Some more updates for Lumina 2:
Almost have the transparent windows getting layered properly.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 |