summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-12-29 15:55:43 +0200
committerKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-12-29 15:55:43 +0200
commit455b0486b416e7a0d614197243e38042e8967ca5 (patch)
tree8b65ed0109d20d43d7d101959b310b5e22445e08
parentd8c4f4246e95a6ca3402b374b8893368f28188d5 (diff)
Depending on the plugin, avoid NB#215576 crash
-rw-r--r--src/mcompositemanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mcompositemanager.cpp b/src/mcompositemanager.cpp
index c36b5c7..c795d87 100644
--- a/src/mcompositemanager.cpp
+++ b/src/mcompositemanager.cpp
@@ -2961,8 +2961,10 @@ bool MCompositeManagerPrivate::x11EventFilter(XEvent *event)
case ButtonRelease:
case ButtonPress:
buttonEvent(&event->xbutton);
- // Qt needs to handle this event for the window frame buttons
- ret = false;
+ // TODO: enable this code when MSimpleWindowFrame raises from death.
+ // ret = false;
+ break;
+ case MotionNotify: // in case a plugin subscribes these
break;
case KeyPress:
case KeyRelease: