diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index c4cf96a2..babefd02 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -242,6 +242,7 @@ static bool cmd_floating(struct sway_config *config, int argc, char **argv) { | |||
242 | add_sibling(focused, view); | 242 | add_sibling(focused, view); |
243 | } | 243 | } |
244 | // Refocus on the view once its been put back into the layout | 244 | // Refocus on the view once its been put back into the layout |
245 | view->width = view->height = 0; | ||
245 | arrange_windows(active_workspace, -1, -1); | 246 | arrange_windows(active_workspace, -1, -1); |
246 | } | 247 | } |
247 | set_focused_container(view); | 248 | set_focused_container(view); |