diff options
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r-- | sway/tree/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index 28303652..b3589be5 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c | |||
@@ -77,7 +77,7 @@ static void restore_workspaces(struct sway_output *output) { | |||
77 | floater->y > output->ly + output->height || | 77 | floater->y > output->ly + output->height || |
78 | floater->x + floater->width < output->lx || | 78 | floater->x + floater->width < output->lx || |
79 | floater->y + floater->height < output->ly) { | 79 | floater->y + floater->height < output->ly) { |
80 | container_init_floating(floater); | 80 | container_floating_resize_and_center(floater); |
81 | } | 81 | } |
82 | } | 82 | } |
83 | 83 | ||