summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-18 22:31:00 +0000
committerDana Jansens <danakj@orodu.net>2003-04-18 22:31:00 +0000
commit6b7737acc3f6daa4ca0d4546d2bf4cddc7236e2d (patch)
tree7f1fed7e26eb4bc3099beb4b93a51065ff83ceeb /openbox
parent2829849b714a37d2efe4674c7a2a3e4b473edcf9 (diff)
the mouse grab screws that up
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c
index ed214af7..bdafd126 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -408,8 +408,8 @@ static void event_process(XEvent *e)
e->type == KeyPress || e->type == KeyRelease) {
moveresize_event(e);
- if (!(e->type == ButtonPress || e->type == ButtonRelease))
- return; /* no dispatch! */
+ return; /* no dispatch! */
+
}
/* user input (action-bound) events */