aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-29 15:05:04 -0400
committerKen Moore <ken@ixsystems.com>2017-06-29 15:05:04 -0400
commit0c877d64113f029e953d3bf27e47ca2c3d21b19c (patch)
treedce3bdebbe4531b525d9d93478b467e587d108a5 /src-qt5/core/libLumina
parentAdd a secondary window ID for all window destroy events. (diff)
downloadlumina-0c877d64113f029e953d3bf27e47ca2c3d21b19c.tar.gz
lumina-0c877d64113f029e953d3bf27e47ca2c3d21b19c.tar.bz2
lumina-0c877d64113f029e953d3bf27e47ca2c3d21b19c.zip
Back out that secondary close ID - unrelated to the actual window that was closed (some internal event identifier)
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r--src-qt5/core/libLumina/NativeEventFilter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/NativeEventFilter.cpp b/src-qt5/core/libLumina/NativeEventFilter.cpp
index dba3146b..74402690 100644
--- a/src-qt5/core/libLumina/NativeEventFilter.cpp
+++ b/src-qt5/core/libLumina/NativeEventFilter.cpp
@@ -197,7 +197,6 @@ bool EventFilter::nativeEventFilter(const QByteArray &eventType, void *message,
case XCB_DESTROY_NOTIFY:
qDebug() << "Window Closed Event:" << ((xcb_destroy_notify_event_t *)ev)->window;
obj->emit WindowDestroyed( ((xcb_destroy_notify_event_t *) ev)->window );
- obj->emit WindowDestroyed( ((xcb_destroy_notify_event_t *) ev)->event ); //sometimes this is the right window instead (window that sent the event)
break;
//==============================
case XCB_FOCUS_IN:
bgstack15