Implement the new clipboard API for Wayland

This commit is contained in:
Kovid Goyal
2022-09-08 17:29:18 +05:30
parent c58d217d32
commit 91c00fb5ac
3 changed files with 190 additions and 144 deletions

3
glfw/wl_platform.h vendored
View File

@@ -317,11 +317,8 @@ typedef struct _GLFWlibraryWayland
} egl;
EventLoopData eventLoopData;
char* pasteString;
char* clipboardString;
size_t dataOffersCounter;
_GLFWWaylandDataOffer dataOffers[8];
char* primarySelectionString;
} _GLFWlibraryWayland;
// Wayland-specific per-monitor data