sdlwindow: ignore key repeat events

Wayland clients (incl. Xwayland) handle this.
This commit is contained in:
Simon Ser 2021-09-14 18:25:56 +02:00
parent 0d43e3472a
commit eed360ce09

View file

@ -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();