You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1a37ca3
Browse filesBrowse the repository at this point in the historyBrowse files
GPUDisplayFrontendWayland* me = (GPUDisplayFrontendWayland*)data;
235
235
int32_t symbol = me->GetKey(key, state);
236
236
int32_t keyPress = (symbol >= 'a' && symbol <= 'z') ? symbol + 'A' - 'a' : symbol;
237
-
if (state == XKB_KEY_DOWN) {
237
+
if (state == WL_KEYBOARD_KEY_STATE_PRESSED) {
238
238
me->mKeys[keyPress] = true;
239
239
me->mKeysShift[keyPress] = me->mKeys[KEY_SHIFT];
240
240
me->HandleKey(symbol);
241
+
if (symbol && me->mRepeatRate > 0 && me->mXKBkeymap && xkb_keymap_key_repeats(me->mXKBkeymap, key + 8)) { // Wayland compositors do not repeat keys, the client must do it
0 commit comments