diff options
author | Drew DeVault <[email protected]> | 2017-11-25 16:30:15 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2017-11-25 16:30:15 -0500 |
commit | 8caabe59c2e6f6174678e6c28be3381a7dabff10 (patch) | |
tree | 5425efb1f3b68e9b275d8429bba70a2b132b72c9 /include/sway/view.h | |
parent | a57d46292694e388d74add7b0869bcafdb42b2bd (diff) |
Handle view destruction properly
Diffstat (limited to 'include/sway/view.h')
-rw-r--r-- | include/sway/view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/view.h b/include/sway/view.h index fca444b7..2707ca78 100644 --- a/include/sway/view.h +++ b/include/sway/view.h @@ -14,6 +14,7 @@ struct sway_xdg_surface_v6 { struct wl_listener request_move; struct wl_listener request_resize; struct wl_listener request_maximize; + struct wl_listener destroy; int pending_width, pending_height; }; @@ -38,7 +39,6 @@ enum sway_view_prop { * tree (shell surfaces). */ struct sway_view { - struct wl_listener destroy; enum sway_view_type type; struct sway_container *swayc; struct wlr_surface *surface; |