This commit is contained in:
IoI_xD 2026-03-24 23:44:30 -07:00
commit f4e2ec8fa9
3 changed files with 22 additions and 8 deletions

View file

@ -285,6 +285,7 @@ MwInline int wayland_load_funcs() {
#include "Wayland/xdg-decoration-client-protocol.h"
#include "Wayland/cursor-shape-client-protocol.h"
#include "Wayland/primary-selection-client-protocol.h"
#include "Wayland/pointer-constraints-client-protocol.h"
#include "Wayland/xdg-toplevel-icon-client-protocol.h"
#endif
@ -418,6 +419,9 @@ struct _MwLLWayland {
struct wp_viewport* vp;
struct zwp_pointer_constraints_v1* pointer_constraints;
struct zwp_locked_pointer_v1* locked_pointer;
/* clipboard related stuff.
* Note that unlike most interfaces, we don't keep zwp_primary_selection stuff in a wayland_protocol_t because we use wl_data_device as a fallback and want to have it share memory space.*/