commit ecfea6b8aebcc6a7f663e2f23144e146dbe726d3 parent b4a9a1716f70f080edf146f82698aa2c1bb99bcc Author: Louis POIROT--HATTERMANN <lpoirothattermann@gmail.com> Date: Thu, 2 Oct 2025 15:54:24 +0200 commands/scratchpad: don't hide scratchpad if no pending workspace Fixes: https://github.com/swaywm/sway/issues/8909 Diffstat:
| M | sway/tree/root.c | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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; }