diff options
author | emersion <contact@emersion.fr> | 2017-10-27 00:02:30 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-27 00:02:30 +0200 |
commit | a43acae0005ec4d635f1477376fad2ff5d12d611 (patch) | |
tree | 13d3868e68cc1a0d03338feaf1289055a862e816 /include/wlr | |
parent | e84d573b9127a431671e1f74773aee53830f8d09 (diff) |
Send server-decoration ack event automatically
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_server_decoration.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/wlr/types/wlr_server_decoration.h b/include/wlr/types/wlr_server_decoration.h index 059aa77f..b4cac5b7 100644 --- a/include/wlr/types/wlr_server_decoration.h +++ b/include/wlr/types/wlr_server_decoration.h @@ -22,13 +22,11 @@ struct wlr_server_decoration { struct wlr_surface *surface; struct wl_list link; - // enum org_kde_kwin_server_decoration_manager_mode - uint32_t requested_mode; - uint32_t sent_mode; + uint32_t mode; // enum org_kde_kwin_server_decoration_manager_mode struct { struct wl_signal destroy; - struct wl_signal request_mode; + struct wl_signal mode; } events; struct wl_listener surface_destroy_listener; @@ -43,7 +41,4 @@ void wlr_server_decoration_manager_set_default_mode( void wlr_server_decoration_manager_destroy( struct wlr_server_decoration_manager *manager); -void wlr_server_decoration_send_mode(struct wlr_server_decoration *decoration, - uint32_t mode); - #endif |