summaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 23:15:39 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 23:15:39 -0400
commit2778edef976a669dd0019ebb5327bcfeb4de13c5 (patch)
tree6d9c1cecaa845590025f8354047e2986c3301092 /sway/desktop/output.c
parentrename container_for_each_descendent (diff)
downloadsway-2778edef976a669dd0019ebb5327bcfeb4de13c5.tar.gz
sway-2778edef976a669dd0019ebb5327bcfeb4de13c5.tar.zst
sway-2778edef976a669dd0019ebb5327bcfeb4de13c5.zip
arrange windows
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index fa1b0680..b463dfdc 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -264,7 +264,7 @@ static void handle_output_destroy(struct wl_listener *listener, void *data) {
264static void handle_output_mode(struct wl_listener *listener, void *data) { 264static void handle_output_mode(struct wl_listener *listener, void *data) {
265 struct sway_output *output = wl_container_of(listener, output, mode); 265 struct sway_output *output = wl_container_of(listener, output, mode);
266 arrange_layers(output); 266 arrange_layers(output);
267 container_arrange_windows(output->swayc, -1, -1); 267 arrange_windows(output->swayc, -1, -1);
268} 268}
269 269
270void handle_new_output(struct wl_listener *listener, void *data) { 270void handle_new_output(struct wl_listener *listener, void *data) {
@@ -307,5 +307,5 @@ void handle_new_output(struct wl_listener *listener, void *data) {
307 output->mode.notify = handle_output_mode; 307 output->mode.notify = handle_output_mode;
308 308
309 arrange_layers(output); 309 arrange_layers(output);
310 container_arrange_windows(&root_container, -1, -1); 310 arrange_windows(&root_container, -1, -1);
311} 311}