aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/EventManager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/EventManager.cc')
-rw-r--r--src/FbTk/EventManager.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/EventManager.cc b/src/FbTk/EventManager.cc
index b9d5e98..3df56de 100644
--- a/src/FbTk/EventManager.cc
+++ b/src/FbTk/EventManager.cc
@@ -161,7 +161,8 @@ void EventManager::dispatch(Window win, XEvent &ev, bool parent) {
161 161
162 switch (ev.type) { 162 switch (ev.type) {
163 case KeyPress: 163 case KeyPress:
164 evhand->keyPressEvent(ev.xkey); 164 if (!XFilterEvent(&ev, win))
165 evhand->keyPressEvent(ev.xkey);
165 break; 166 break;
166 case KeyRelease: 167 case KeyRelease:
167 evhand->keyReleaseEvent(ev.xkey); 168 evhand->keyReleaseEvent(ev.xkey);