diff options
author | Ryan Dwyer <[email protected]> | 2018-06-26 13:15:45 +1000 |
---|---|---|
committer | Ryan Dwyer <[email protected]> | 2018-06-26 13:15:45 +1000 |
commit | 7a922c65aab27c5f4282cf15de52d240e5ac8052 (patch) | |
tree | bea2a3dee07631b1da05428b29ec5d1e4c47d871 /sway/desktop/xdg_shell.c | |
parent | beacd4d9f9c6da7459bcde0e95031dac41387a7c (diff) |
Damage output when a fullscreen view unmaps
Also moved the arranging into view_unmap to avoid excessive code
duplication.
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index ab35b98f..a06c3bd2 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c @@ -197,8 +197,7 @@ static void handle_unmap(struct wl_listener *listener, void *data) { return; } - struct sway_container *parent = view_unmap(view); - arrange_and_commit(parent); + view_unmap(view); wl_list_remove(&xdg_shell_view->commit.link); wl_list_remove(&xdg_shell_view->new_popup.link); |