mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
setup for resizable windows, drop weight
This commit is contained in:
parent
ba6034e8c8
commit
fbaa9111a8
5 changed files with 58 additions and 30 deletions
|
|
@ -242,6 +242,7 @@ static bool cmd_floating(struct sway_config *config, int argc, char **argv) {
|
|||
add_sibling(focused, view);
|
||||
}
|
||||
// Refocus on the view once its been put back into the layout
|
||||
view->width = view->height = 0;
|
||||
arrange_windows(active_workspace, -1, -1);
|
||||
}
|
||||
set_focused_container(view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue