mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Fix deletion of still-visible workspaces on unfocus
This commit is contained in:
parent
3499cc6c87
commit
b08f7e5183
2 changed files with 4 additions and 1 deletions
|
|
@ -216,6 +216,7 @@ static bool container_reap_empty(struct sway_container *con) {
|
|||
break;
|
||||
case C_WORKSPACE:
|
||||
if (!workspace_is_visible(con) && con->children->length == 0) {
|
||||
wlr_log(L_DEBUG, "Destroying workspace via reaper");
|
||||
container_workspace_destroy(con);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue