dont accept motion events with same_screen set to false

This commit is contained in:
Dana Jansens 2002-07-23 06:03:36 +00:00
parent 6417766553
commit 9500c095f8

View file

@ -439,8 +439,11 @@ void Blackbox::process_event(XEvent *e) {
if ( i > 0 ) if ( i > 0 )
e = &realevent; e = &realevent;
if (! e->xmotion.same_screen)
break;
// strip the lock key modifiers // strip the lock key modifiers
e->xbutton.state &= ~(NumLockMask | ScrollLockMask | LockMask); e->xmotion.state &= ~(NumLockMask | ScrollLockMask | LockMask);
last_time = e->xmotion.time; last_time = e->xmotion.time;