aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2026-07-30 09:09:22 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-08-19 04:44:38 +0000
commit85655c74a4ded119392ea8b632626c3920042807 (patch)
tree5cdd59c1cc55fe24af4fcc69366619bb3e6056e1 /wayland.h
parentterm: don't do a cursor refresh if we're shutting down (diff)
wayland: handle_global_remove(): call wl_fixes::ack_global_remove(), when available
wayland 1.26 adds wl_fixes::ack_global_remove(). Clients should call it when they've received a global_remove() event, after doing internal cleanup. Not tested yet: * Waiting for arch to update wayland to 1.26 * None of the compositors I use (or test on) implement it yet.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index b3543188..11a38368 100644
--- a/wayland.h
+++ b/wayland.h
@@ -457,6 +457,10 @@ struct wayland {
struct wl_display *display;
struct wl_registry *registry;
+#if defined(WL_FIXES_INTERFACE)
+ struct wl_fixes *fixes;
+ int fixes_version;
+#endif
struct wl_compositor *compositor;
struct wl_subcompositor *sub_compositor;
struct wl_shm *shm;