nm that, pointless...
Dana Jansens danakj@orodu.net
1 files changed,
0 insertions(+),
8 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -154,8 +154,6 @@ /* grab the lasttime and hack up the state */
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 @@ e->xbutton.state &= (ControlMask | ShiftMask | Mod1Mask |
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 @@ /* }*/
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 @@ }
} 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 */