diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2025-10-02 15:54:24 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2025-10-02 15:54:24 +0200 |
| commit | e111f6e5398700c5acda31e8bc1056ea64610e08 (patch) | |
| tree | 9360b8ac748434dc9a3934942b87dac6039c8ca8 | |
| parent | 9eca3e1385be6c755ab9a7095100bacf5082d524 (diff) | |
commands/scratchpad: don't hide scratchpad if no pending workspace
Fixes: https://github.com/swaywm/sway/issues/8909
| -rw-r--r-- | sway/tree/root.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c index 33c29d38..cf7170a4 100644 --- a/sway/tree/root.c +++ b/sway/tree/root.c @@ -214,9 +214,7 @@ void root_scratchpad_hide(struct sway_container *con) { struct sway_node *focus = seat_get_focus_inactive(seat, &root->node); struct sway_workspace *ws = con->pending.workspace; - if (con->pending.fullscreen_mode == FULLSCREEN_GLOBAL && !con->pending.workspace) { - // If the container was made fullscreen global while in the scratchpad, - // it should be shown until fullscreen has been disabled + if (!con->pending.workspace) { return; } |
