diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-25 16:30:15 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-11-25 16:30:15 -0500 |
commit | 8caabe59c2e6f6174678e6c28be3381a7dabff10 (patch) | |
tree | 5425efb1f3b68e9b275d8429bba70a2b132b72c9 /include/sway/view.h | |
parent | Fix rendering issues, wire up some xdg listeners (diff) | |
download | sway-8caabe59c2e6f6174678e6c28be3381a7dabff10.tar.gz sway-8caabe59c2e6f6174678e6c28be3381a7dabff10.tar.zst sway-8caabe59c2e6f6174678e6c28be3381a7dabff10.zip |
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 { | |||
14 | struct wl_listener request_move; | 14 | struct wl_listener request_move; |
15 | struct wl_listener request_resize; | 15 | struct wl_listener request_resize; |
16 | struct wl_listener request_maximize; | 16 | struct wl_listener request_maximize; |
17 | struct wl_listener destroy; | ||
17 | 18 | ||
18 | int pending_width, pending_height; | 19 | int pending_width, pending_height; |
19 | }; | 20 | }; |
@@ -38,7 +39,6 @@ enum sway_view_prop { | |||
38 | * tree (shell surfaces). | 39 | * tree (shell surfaces). |
39 | */ | 40 | */ |
40 | struct sway_view { | 41 | struct sway_view { |
41 | struct wl_listener destroy; | ||
42 | enum sway_view_type type; | 42 | enum sway_view_type type; |
43 | struct sway_container *swayc; | 43 | struct sway_container *swayc; |
44 | struct wlr_surface *surface; | 44 | struct wlr_surface *surface; |