aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-03-29 23:15:39 -0400
committerTony Crisci <tony@dubstepdish.com>2018-03-29 23:15:39 -0400
commit2778edef976a669dd0019ebb5327bcfeb4de13c5 (patch)
tree6d9c1cecaa845590025f8354047e2986c3301092 /sway/desktop/xdg_shell_v6.c
parent92c58b1e63d41d48cfb487b04a2cb105c990bc4c (diff)
arrange windows
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 616cb88f..09894f0e 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -86,7 +86,7 @@ static void handle_destroy(struct wl_listener *listener, void *data) {
struct sway_container *parent = container_view_destroy(sway_xdg_surface->view->swayc);
free(sway_xdg_surface->view);
free(sway_xdg_surface);
- container_arrange_windows(parent, -1, -1);
+ arrange_windows(parent, -1, -1);
}
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
@@ -140,7 +140,7 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
struct sway_container *cont = container_view_create(focus, sway_view);
sway_view->swayc = cont;
- container_arrange_windows(cont->parent, -1, -1);
+ arrange_windows(cont->parent, -1, -1);
sway_input_manager_set_focus(input_manager, cont);
}