aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-06 18:05:04 +0000
committerSimon Ser <contact@emersion.fr>2022-08-04 12:23:03 +0000
commit129e1a9b8e23007026d19c970941ccbc8ee2f0ca (patch)
treea3d4576ff65056d387fc8914c4ffefd27a27a8da /wayland.h
parentAdd no-op xdg_toplevel.configure_bounds handler (diff)
Add support for xdg_toplevel.wm_capabilities
See https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/122
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 803fe390..e86c6a3d 100644
--- a/wayland.h
+++ b/wayland.h
@@ -339,6 +339,11 @@ struct wl_window {
uint32_t serial;
} csd;
+ struct {
+ bool maximize:1;
+ bool minimize:1;
+ } wm_capabilities;
+
struct wl_surf_subsurf search;
struct wl_surf_subsurf scrollback_indicator;
struct wl_surf_subsurf render_timer;