summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-22 15:58:09 +0000
committerDana Jansens <danakj@orodu.net>2007-04-22 15:58:09 +0000
commitd6e49acf0ff267b3ee9a9f1e0102028734803747 (patch)
tree001e65b83106c5a537162eedec989c27bfa9b90c /openbox/event.c
parent27773e1cb7492de080bd19189b4fcd2a6b9a0e9e (diff)
dont need to ignore mouse events during a keyboard grab, they go to the grab-window anyways
use our built in grab_keyboard
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 502d1962..ca60d6f3 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -591,8 +591,7 @@ static void event_process(const XEvent *ec, gpointer data)
if (e->type == ButtonPress || e->type == ButtonRelease ||
e->type == MotionNotify) {
- if (!keyboard_interactively_grabbed())
- mouse_event(client, e);
+ mouse_event(client, e);
} else if (e->type == KeyPress) {
keyboard_event((focus_cycle_target ? focus_cycle_target :
(focus_hilite ? focus_hilite : client)),