aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-11-21 09:25:18 -0500
committerKen Moore <ken@ixsystems.com>2017-11-21 09:25:18 -0500
commit8f2333a84ca2e959a05e1dd2c249eebfde5846fc (patch)
tree726e14f73cbbc551a3ae230f5f5a2efb6f89ccf9 /src-qt5/core/lumina-desktop
parentCleanup a little bit of lthemeengine (diff)
downloadlumina-8f2333a84ca2e959a05e1dd2c249eebfde5846fc.tar.gz
lumina-8f2333a84ca2e959a05e1dd2c249eebfde5846fc.tar.bz2
lumina-8f2333a84ca2e959a05e1dd2c249eebfde5846fc.zip
Make sure the window list get updated *as soon as* the workspace changes.
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r--src-qt5/core/lumina-desktop/LXcbEventFilter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/LXcbEventFilter.cpp b/src-qt5/core/lumina-desktop/LXcbEventFilter.cpp
index d5098a40..16689c76 100644
--- a/src-qt5/core/lumina-desktop/LXcbEventFilter.cpp
+++ b/src-qt5/core/lumina-desktop/LXcbEventFilter.cpp
@@ -50,6 +50,7 @@ bool XCBEventFilter::nativeEventFilter(const QByteArray &eventType, void *messag
&& ( ( ((xcb_property_notify_event_t*)ev)->atom == session->XCB->EWMH._NET_CURRENT_DESKTOP) )){
//qDebug() << "Got Workspace Change";
session->emit WorkspaceChanged();
+ session->WindowPropertyEvent(); //make sure we update the lists again - some windows are now hidden
}else if( SysNotifyAtoms.contains( ((xcb_property_notify_event_t*)ev)->atom ) ){
//Update the status/list of all running windows
session->WindowPropertyEvent();
bgstack15