aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-03-30 16:16:12 -0400
committerGitHub <noreply@github.com>2018-03-30 16:16:12 -0400
commit7e0d430a0cee8c24fd4461711f264829b0f67e2e (patch)
treed55cdd62bd7470ff67953613c25a3a9b85182f50 /sway/desktop/xdg_shell_v6.c
parentcf09ea184b891594331240eb860f28975dcb8b8c (diff)
parent7eca02301ba309fa909ba9b12cb335f8f944f1ee (diff)
downloadsway-7e0d430a0cee8c24fd4461711f264829b0f67e2e.tar.xz
Merge branch 'wlroots' into wlroots-xwayland-map
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 25c0cbca..01f38d16 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -83,10 +83,9 @@ static void handle_destroy(struct wl_listener *listener, void *data) {
wl_container_of(listener, sway_xdg_surface, destroy);
wl_list_remove(&sway_xdg_surface->commit.link);
wl_list_remove(&sway_xdg_surface->destroy.link);
- struct sway_container *parent = container_view_destroy(sway_xdg_surface->view->swayc);
+ container_view_destroy(sway_xdg_surface->view->swayc);
free(sway_xdg_surface->view);
free(sway_xdg_surface);
- arrange_windows(parent, -1, -1);
}
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {