summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-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 */