diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-29 15:05:04 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-29 15:05:04 -0400 |
commit | 0c877d64113f029e953d3bf27e47ca2c3d21b19c (patch) | |
tree | dce3bdebbe4531b525d9d93478b467e587d108a5 | |
parent | Add a secondary window ID for all window destroy events. (diff) | |
download | lumina-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)
-rw-r--r-- | src-qt5/core/libLumina/NativeEventFilter.cpp | 1 |
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: |