all repos — openbox @ 9500c095f81b038f3c2d2b508f63befecfdf2e13

openbox fork - make it a bit more like ryudo

dont accept motion events with same_screen set to false
Dana Jansens danakj@orodu.net
commit

9500c095f81b038f3c2d2b508f63befecfdf2e13

parent

641776655394ed802a247daffd04012e73c52062

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M src/blackbox.ccsrc/blackbox.cc

@@ -439,8 +439,11 @@ // if we have compressed some motion events, use the last one

if ( i > 0 ) e = &realevent; + if (! e->xmotion.same_screen) + break; + // strip the lock key modifiers - e->xbutton.state &= ~(NumLockMask | ScrollLockMask | LockMask); + e->xmotion.state &= ~(NumLockMask | ScrollLockMask | LockMask); last_time = e->xmotion.time;