diff options
Diffstat (limited to 'sway/desktop/wl_shell.c')
-rw-r--r-- | sway/desktop/wl_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c index ac1c7f26..4d4d1ed7 100644 --- a/sway/desktop/wl_shell.c +++ b/sway/desktop/wl_shell.c | |||
@@ -77,7 +77,7 @@ static void handle_destroy(struct wl_listener *listener, void *data) { | |||
77 | struct sway_container *parent = container_view_destroy(sway_surface->view->swayc); | 77 | struct sway_container *parent = container_view_destroy(sway_surface->view->swayc); |
78 | free(sway_surface->view); | 78 | free(sway_surface->view); |
79 | free(sway_surface); | 79 | free(sway_surface); |
80 | container_arrange_windows(parent, -1, -1); | 80 | arrange_windows(parent, -1, -1); |
81 | } | 81 | } |
82 | 82 | ||
83 | void handle_wl_shell_surface(struct wl_listener *listener, void *data) { | 83 | void handle_wl_shell_surface(struct wl_listener *listener, void *data) { |
@@ -136,6 +136,6 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) { | |||
136 | struct sway_container *cont = container_view_create(focus, sway_view); | 136 | struct sway_container *cont = container_view_create(focus, sway_view); |
137 | sway_view->swayc = cont; | 137 | sway_view->swayc = cont; |
138 | 138 | ||
139 | container_arrange_windows(cont->parent, -1, -1); | 139 | arrange_windows(cont->parent, -1, -1); |
140 | sway_input_manager_set_focus(input_manager, cont); | 140 | sway_input_manager_set_focus(input_manager, cont); |
141 | } | 141 | } |