mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Revert "Don't unmaximize floating views"
This reverts commit 97672295ed.
This commit is contained in:
parent
53c4467573
commit
e0d0e8f840
7 changed files with 51 additions and 6 deletions
|
|
@ -943,6 +943,9 @@ void container_set_floating(struct sway_container *container, bool enable) {
|
|||
container_add_child(workspace, container);
|
||||
container->width = container->parent->width;
|
||||
container->height = container->parent->height;
|
||||
if (container->type == C_VIEW) {
|
||||
view_set_tiled(container->sway_view, true);
|
||||
}
|
||||
container->is_sticky = false;
|
||||
container_reap_empty_recursive(workspace->sway_workspace->floating);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue