mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
Minor fix to do proper floating refocuses
This commit is contained in:
parent
47ec999e71
commit
3f475f5009
|
@ -231,6 +231,8 @@ static bool cmd_floating(struct sway_config *config, int argc, char **argv) {
|
||||||
else {
|
else {
|
||||||
add_sibling(focused, view);
|
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);
|
arrange_windows(active_workspace, -1, -1);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue