aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-30 17:43:43 -0400
committeremersion <contact@emersion.fr>2018-03-30 17:43:43 -0400
commit139f80b0f03cd772e408604203df81f285ca3f67 (patch)
tree94004c7898769b0d33b0980ce062da0e3564b190 /include/sway
parent3a68c012a9a32a0cda4fff772a370558d52077be (diff)
Handle map/unmap events in xdg-shell-v6
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/tree/view.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 526a8485..3965d2b7 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -15,6 +15,8 @@ struct sway_xdg_surface_v6 {
struct wl_listener request_move;
struct wl_listener request_resize;
struct wl_listener request_maximize;
+ struct wl_listener map;
+ struct wl_listener unmap;
struct wl_listener destroy;
int pending_width, pending_height;
@@ -28,8 +30,8 @@ struct sway_xwayland_surface {
struct wl_listener request_resize;
struct wl_listener request_maximize;
struct wl_listener request_configure;
- struct wl_listener unmap;
struct wl_listener map;
+ struct wl_listener unmap;
struct wl_listener destroy;
int pending_width, pending_height;