diff options
author | Ryan Dwyer <[email protected]> | 2018-06-27 17:54:57 +1000 |
---|---|---|
committer | Ryan Dwyer <[email protected]> | 2018-06-27 17:54:57 +1000 |
commit | e6829c5991cac1bd164f800c14fccd522d702783 (patch) | |
tree | 74f48c0c81cfa64bd480195bddc47ada10812cc4 /sway/desktop/xdg_shell.c | |
parent | 8773ed39701748ba5500b4698d028795aa6e812e (diff) |
Move unsetting of view->surface into view_unmap
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index b6fa9525..b076d772 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c @@ -201,7 +201,6 @@ static void handle_unmap(struct wl_listener *listener, void *data) { wl_list_remove(&xdg_shell_view->commit.link); wl_list_remove(&xdg_shell_view->new_popup.link); - view->surface = NULL; } static void handle_map(struct wl_listener *listener, void *data) { |