From: Dana Jansens Date: Sun, 6 Apr 2003 18:38:51 +0000 (+0000) Subject: nm that, pointless... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d43a109ba2ffd1d6f3bbd42a93265143f0e56582;p=chaz%2Fopenbox nm that, pointless... --- diff --git a/openbox/event.c b/openbox/event.c index 72ba4d1a..79befa66 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -154,8 +154,6 @@ void event_process(XEvent *e) switch (e->type) { case ButtonPress: case ButtonRelease: - if (ob_state != State_Running) return; - event_lasttime = e->xbutton.time; e->xbutton.state &= ~(LockMask | NumLockMask | ScrollLockMask); /* kill off the Button1Mask etc, only want the modifiers */ @@ -163,8 +161,6 @@ void event_process(XEvent *e) Mod2Mask | Mod3Mask | Mod4Mask | Mod5Mask); break; case KeyPress: - if (ob_state != State_Running) return; - event_lasttime = e->xkey.time; e->xkey.state &= ~(LockMask | NumLockMask | ScrollLockMask); /* kill off the Button1Mask etc, only want the modifiers */ @@ -189,8 +185,6 @@ void event_process(XEvent *e) break; case KeyRelease: - if (ob_state != State_Running) return; - event_lasttime = e->xkey.time; e->xkey.state &= ~(LockMask | NumLockMask | ScrollLockMask); /* kill off the Button1Mask etc, only want the modifiers */ @@ -213,8 +207,6 @@ void event_process(XEvent *e) } break; case MotionNotify: - if (ob_state != State_Running) return; - event_lasttime = e->xmotion.time; e->xmotion.state &= ~(LockMask | NumLockMask | ScrollLockMask); /* kill off the Button1Mask etc, only want the modifiers */