diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2020-01-14 17:08:01 -0700 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-01-16 21:48:25 -0500 |
commit | d88d4bbd9d363435a4d65191446a497de9031cca (patch) | |
tree | 369c3bf76bea3013dc08a6796e1ca7225216dc0d /sway/commands/focus.c | |
parent | 18507e62fd9445090ecbe3cdfffb4a10d7ea90ea (diff) |
Fix crash when showing scratchpad hidden split containers
Diffstat (limited to 'sway/commands/focus.c')
-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) { } if (argc == 0 && container) { - if (container_is_scratchpad_hidden(container)) { + if (container_is_scratchpad_hidden_or_child(container)) { root_scratchpad_show(container); } seat_set_focus_container(seat, container); |