diff options
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/focus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/focus.c b/sway/commands/focus.c index d745aab5..56c3d981 100644 --- a/sway/commands/focus.c +++ b/sway/commands/focus.c | |||
@@ -365,7 +365,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) { | |||
365 | } | 365 | } |
366 | 366 | ||
367 | if (argc == 0 && container) { | 367 | if (argc == 0 && container) { |
368 | if (container_is_scratchpad_hidden(container)) { | 368 | if (container_is_scratchpad_hidden_or_child(container)) { |
369 | root_scratchpad_show(container); | 369 | root_scratchpad_show(container); |
370 | } | 370 | } |
371 | seat_set_focus_container(seat, container); | 371 | seat_set_focus_container(seat, container); |