aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-29 13:00:34 -0400
committerKen Moore <ken@ixsystems.com>2017-06-29 13:00:34 -0400
commita4b1242e9516a52f0b0b3dc3377f5fd1620ce5a6 (patch)
tree0dbefdd089610526d4d87e56e143fc01b7132b6a /src-qt5/core/libLumina
parentEnsure that we never change the x11 position property on a window - that shou... (diff)
downloadlumina-a4b1242e9516a52f0b0b3dc3377f5fd1620ce5a6.tar.gz
lumina-a4b1242e9516a52f0b0b3dc3377f5fd1620ce5a6.tar.bz2
lumina-a4b1242e9516a52f0b0b3dc3377f5fd1620ce5a6.zip
de-activate the global position change notifications within the event filter - the WM handles that.
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r--src-qt5/core/libLumina/NativeEventFilter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/NativeEventFilter.cpp b/src-qt5/core/libLumina/NativeEventFilter.cpp
index 28432222..754bdb8f 100644
--- a/src-qt5/core/libLumina/NativeEventFilter.cpp
+++ b/src-qt5/core/libLumina/NativeEventFilter.cpp
@@ -227,10 +227,12 @@ bool EventFilter::nativeEventFilter(const QByteArray &eventType, void *message,
//==============================
case XCB_CONFIGURE_NOTIFY:
//qDebug() << "Configure Notify Event";
- obj->emit WindowPropertiesChanged( ((xcb_configure_notify_event_t*)ev)->window,
+ /*obj->emit WindowPropertiesChanged( ((xcb_configure_notify_event_t*)ev)->window,
QList<NativeWindow::Property>() << NativeWindow::GlobalPos << NativeWindow::Size,
QList<QVariant>() << QPoint(((xcb_configure_notify_event_t*)ev)->x, ((xcb_configure_notify_event_t*)ev)->y) <<
- QSize(((xcb_configure_notify_event_t*)ev)->width, ((xcb_configure_notify_event_t*)ev)->height) );
+ QSize(((xcb_configure_notify_event_t*)ev)->width, ((xcb_configure_notify_event_t*)ev)->height) );*/
+ obj->emit WindowPropertyChanged( ((xcb_configure_notify_event_t*)ev)->window, NativeWindow::Size,
+ QSize(((xcb_configure_notify_event_t*)ev)->width, ((xcb_configure_notify_event_t*)ev)->height) );
break;
//==============================
case XCB_CONFIGURE_REQUEST:
bgstack15