aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/LXcbEventFilter.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-12-08 10:51:02 -0500
committerKen Moore <moorekou@gmail.com>2015-12-08 10:51:02 -0500
commit6d1a6c3ac699790bf7ecb4ea9de8ae8a9227d077 (patch)
treea460599cb0eeb0dd49ee9227330edb1c10ef332b /lumina-wm-INCOMPLETE/LXcbEventFilter.cpp
parentEnsure that when a desktop item opens it's context menu it hides the main des... (diff)
downloadlumina-6d1a6c3ac699790bf7ecb4ea9de8ae8a9227d077.tar.gz
lumina-6d1a6c3ac699790bf7ecb4ea9de8ae8a9227d077.tar.bz2
lumina-6d1a6c3ac699790bf7ecb4ea9de8ae8a9227d077.zip
Add the size hints to libLumina X11, and enable the usage of it within teh WM.
Diffstat (limited to 'lumina-wm-INCOMPLETE/LXcbEventFilter.cpp')
-rw-r--r--lumina-wm-INCOMPLETE/LXcbEventFilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-wm-INCOMPLETE/LXcbEventFilter.cpp b/lumina-wm-INCOMPLETE/LXcbEventFilter.cpp
index 6d6cef55..abbe5a5a 100644
--- a/lumina-wm-INCOMPLETE/LXcbEventFilter.cpp
+++ b/lumina-wm-INCOMPLETE/LXcbEventFilter.cpp
@@ -183,7 +183,8 @@ bool XCBEventFilter::nativeEventFilter(const QByteArray &eventType, void *messag
//==============================
}
}
- return stopevent;
+ return false;
+ //never stop event handling (this will not impact the X events themselves - just the internal screensaver/WM/widgets)
}
bool XCBEventFilter::BlockInputEvent(WId win){
@@ -191,7 +192,6 @@ bool XCBEventFilter::BlockInputEvent(WId win){
// - Always let the screensaver know about the event first (need to reset timers and such)
obj->emit NewInputEvent();
// - Check the state of the screensaver
-
if(obj->SSLocked){ qDebug() << "SS Locked"; return true; }
// - Check the state of any fullscreen apps
else if( win!=0 && !obj->FS_WINS.isEmpty()){
bgstack15