1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-29 08:34:13 +01:00

Minor fix to do proper floating refocuses

This commit is contained in:
Luminarys 2015-08-17 10:22:00 -05:00
parent 47ec999e71
commit 3f475f5009

View file

@ -231,6 +231,8 @@ static bool cmd_floating(struct sway_config *config, int argc, char **argv) {
else {
add_sibling(focused, view);
}
// Refocus on the view once its been put back into the layout
focus_view(view);
arrange_windows(active_workspace, -1, -1);
return true;
}