Wayland: Make data offer reading a generic utility

This will be needed for drag and drop reception as well.

(cherry picked from commit f010335b8c)
This commit is contained in:
Camilla Löwy
2022-03-29 19:00:18 +02:00
parent 4d0e98d90c
commit 50d5de7cd4
2 changed files with 73 additions and 75 deletions
-1
View File
@@ -266,7 +266,6 @@ typedef struct _GLFWlibraryWayland
int keyboardLastKey;
int keyboardLastScancode;
char* clipboardString;
size_t clipboardSize;
int timerfd;
short int keycodes[256];
short int scancodes[GLFW_KEY_LAST + 1];