diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-27 17:54:57 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-27 17:54:57 +1000 |
commit | e6829c5991cac1bd164f800c14fccd522d702783 (patch) | |
tree | 74f48c0c81cfa64bd480195bddc47ada10812cc4 /sway/desktop/xdg_shell_v6.c | |
parent | Fix memleak in container_get_box (diff) | |
download | sway-e6829c5991cac1bd164f800c14fccd522d702783.tar.gz sway-e6829c5991cac1bd164f800c14fccd522d702783.tar.zst sway-e6829c5991cac1bd164f800c14fccd522d702783.zip |
Move unsetting of view->surface into view_unmap
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 6042a806..7320e629 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c | |||
@@ -200,7 +200,6 @@ static void handle_unmap(struct wl_listener *listener, void *data) { | |||
200 | 200 | ||
201 | wl_list_remove(&xdg_shell_v6_view->commit.link); | 201 | wl_list_remove(&xdg_shell_v6_view->commit.link); |
202 | wl_list_remove(&xdg_shell_v6_view->new_popup.link); | 202 | wl_list_remove(&xdg_shell_v6_view->new_popup.link); |
203 | view->surface = NULL; | ||
204 | } | 203 | } |
205 | 204 | ||
206 | static void handle_map(struct wl_listener *listener, void *data) { | 205 | static void handle_map(struct wl_listener *listener, void *data) { |