diff options
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/root.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c index e1624863..e5df8dd1 100644 --- a/sway/tree/root.c +++ b/sway/tree/root.c @@ -87,6 +87,9 @@ void root_scratchpad_remove_container(struct sway_container *con) { if (!sway_assert(con->scratchpad, "Container is not in scratchpad")) { return; } + if (!con->workspace) { + root_scratchpad_show(con); + } con->scratchpad = false; int index = list_find(root->scratchpad, con); if (index != -1) { |