diff options
-rw-r--r-- | sway/desktop/layer_shell.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index a7d96717..71a0163c 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c | |||
@@ -7,11 +7,13 @@ | |||
7 | #include <wlr/types/wlr_output_damage.h> | 7 | #include <wlr/types/wlr_output_damage.h> |
8 | #include <wlr/types/wlr_output.h> | 8 | #include <wlr/types/wlr_output.h> |
9 | #include <wlr/util/log.h> | 9 | #include <wlr/util/log.h> |
10 | #include "sway/desktop/transaction.h" | ||
10 | #include "sway/input/input-manager.h" | 11 | #include "sway/input/input-manager.h" |
11 | #include "sway/input/seat.h" | 12 | #include "sway/input/seat.h" |
12 | #include "sway/layers.h" | 13 | #include "sway/layers.h" |
13 | #include "sway/output.h" | 14 | #include "sway/output.h" |
14 | #include "sway/server.h" | 15 | #include "sway/server.h" |
16 | #include "sway/tree/arrange.h" | ||
15 | #include "sway/tree/layout.h" | 17 | #include "sway/tree/layout.h" |
16 | #include "log.h" | 18 | #include "log.h" |
17 | 19 | ||
@@ -212,6 +214,9 @@ void arrange_layers(struct sway_output *output) { | |||
212 | wl_list_for_each(seat, &input_manager->seats, link) { | 214 | wl_list_for_each(seat, &input_manager->seats, link) { |
213 | seat_set_focus_layer(seat, topmost ? topmost->layer_surface : NULL); | 215 | seat_set_focus_layer(seat, topmost ? topmost->layer_surface : NULL); |
214 | } | 216 | } |
217 | |||
218 | arrange_windows(output->swayc); | ||
219 | transaction_commit_dirty(); | ||
215 | } | 220 | } |
216 | 221 | ||
217 | static void handle_output_destroy(struct wl_listener *listener, void *data) { | 222 | static void handle_output_destroy(struct wl_listener *listener, void *data) { |