aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-09-08 09:18:30 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-09-13 07:04:17 +0000
commit28a1c67dd5ecc917ebd69c0552a1ed99165c310f (patch)
tree0d64450fdfe471e6de9fb09858e4b2426f15594b /wayland.h
parentmeson: detect wayland-protocols >= 1.37, and conditionally enable xdg-toplevel-icon-v1 (diff)
wayland: bind the xdg-toplevel-icon manager global
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index ca9c05fa..227e2a68 100644
--- a/wayland.h
+++ b/wayland.h
@@ -20,6 +20,10 @@
#include <xdg-output-unstable-v1.h>
#include <xdg-shell.h>
+#if defined(HAVE_XDG_TOPLEVEL_ICON)
+ #include <xdg-toplevel-icon-v1.h>
+#endif
+
#include <fcft/fcft.h>
#include <tllist.h>
@@ -443,6 +447,10 @@ struct wayland {
struct wp_single_pixel_buffer_manager_v1 *single_pixel_manager;
+#if defined(HAVE_XDG_TOPLEVEL_ICON)
+ struct xdg_toplevel_icon_manager_v1 *toplevel_icon_manager;
+#endif
+
bool presentation_timings;
struct wp_presentation *presentation;
uint32_t presentation_clock_id;