aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_xdg_shell.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h
index 48bfbb97..95c6ee6c 100644
--- a/include/wlr/types/wlr_xdg_shell.h
+++ b/include/wlr/types/wlr_xdg_shell.h
@@ -147,8 +147,16 @@ struct wlr_xdg_toplevel {
char *app_id;
struct {
+ // Note: as per xdg-shell protocol, the compositor has to
+ // handle state requests by sending a configure event,
+ // even if it didn't actually change the state. Therefore,
+ // every compositor implementing xdg-shell support *must*
+ // listen to these signals and schedule a configure event
+ // immediately or at some time in the future; not doing so
+ // is a protocol violation.
struct wl_signal request_maximize;
struct wl_signal request_fullscreen;
+
struct wl_signal request_minimize;
struct wl_signal request_move;
struct wl_signal request_resize;