Wayland: Clean up key repeat logic

This commit is contained in:
Camilla Löwy
2022-07-13 21:32:30 +02:00
parent a1a73ee862
commit 9180923ea0
3 changed files with 32 additions and 29 deletions

View File

@@ -322,12 +322,12 @@ typedef struct _GLFWlibraryWayland
uint32_t serial;
uint32_t pointerEnterSerial;
int32_t keyboardRepeatRate;
int32_t keyboardRepeatDelay;
int keyboardLastKey;
int keyboardLastScancode;
int keyRepeatTimerfd;
int32_t keyRepeatRate;
int32_t keyRepeatDelay;
int keyRepeatScancode;
char* clipboardString;
int timerfd;
short int keycodes[256];
short int scancodes[GLFW_KEY_LAST + 1];
char keynames[GLFW_KEY_LAST + 1][5];