aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-26 13:15:45 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-26 13:15:45 +1000
commit7a922c65aab27c5f4282cf15de52d240e5ac8052 (patch)
treebea2a3dee07631b1da05428b29ec5d1e4c47d871 /sway/desktop/xdg_shell_v6.c
parentRename progress_queue to transaction_progress_queue (diff)
downloadsway-7a922c65aab27c5f4282cf15de52d240e5ac8052.tar.gz
sway-7a922c65aab27c5f4282cf15de52d240e5ac8052.tar.zst
sway-7a922c65aab27c5f4282cf15de52d240e5ac8052.zip
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_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 76c1fa24..424bca7b 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -196,8 +196,7 @@ static void handle_unmap(struct wl_listener *listener, void *data) {
196 return; 196 return;
197 } 197 }
198 198
199 struct sway_container *parent = view_unmap(view); 199 view_unmap(view);
200 arrange_and_commit(parent);
201 200
202 wl_list_remove(&xdg_shell_v6_view->commit.link); 201 wl_list_remove(&xdg_shell_v6_view->commit.link);
203 wl_list_remove(&xdg_shell_v6_view->new_popup.link); 202 wl_list_remove(&xdg_shell_v6_view->new_popup.link);