sdlwindow: ignore key repeat events
Wayland clients (incl. Xwayland) handle this.
This commit is contained in:
parent
0d43e3472a
commit
eed360ce09
1 changed files with 4 additions and 0 deletions
|
@ -155,6 +155,10 @@ void inputSDLThreadRun( void )
|
|||
}
|
||||
}
|
||||
|
||||
// On Wayland, clients handle key repetition
|
||||
if ( event.key.repeat )
|
||||
break;
|
||||
|
||||
wlserver_lock();
|
||||
wlserver_key( key, event.type == SDL_KEYDOWN, event.key.timestamp );
|
||||
wlserver_unlock();
|
||||
|
|
Loading…
Reference in a new issue