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 */