mirror of
https://github.com/swaywm/sway.git
synced 2025-10-08 13:16:05 +00:00
commands/scratchpad: don't hide scratchpad if no pending workspace
Fixes: https://github.com/swaywm/sway/issues/8909
This commit is contained in:
parent
b4a9a1716f
commit
ecfea6b8ae
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue