dont accept motion events with same_screen set to false
This commit is contained in:
parent
6417766553
commit
9500c095f8
1 changed files with 4 additions and 1 deletions
|
@ -439,8 +439,11 @@ void Blackbox::process_event(XEvent *e) {
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue