mirror of
https://github.com/NickHu/sway
synced 2025-01-15 15:41:59 +01:00
parent
b107fc6e5a
commit
739ba902e0
1 changed files with 2 additions and 1 deletions
|
@ -672,8 +672,9 @@ static void hide_view_in_scratchpad(swayc_t *sp_view) {
|
||||||
remove_child(sp_view);
|
remove_child(sp_view);
|
||||||
if (swayc_active_workspace() != ws && ws->floating->length == 0 && ws->children->length == 0) {
|
if (swayc_active_workspace() != ws && ws->floating->length == 0 && ws->children->length == 0) {
|
||||||
destroy_workspace(ws);
|
destroy_workspace(ws);
|
||||||
|
} else {
|
||||||
|
arrange_windows(ws, -1, -1);
|
||||||
}
|
}
|
||||||
arrange_windows(ws, -1, -1);
|
|
||||||
set_focused_container(container_under_pointer());
|
set_focused_container(container_under_pointer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue