diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-27 13:48:20 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-28 22:41:04 +1000 |
commit | 0337609667ad1d01e0e0dc19231373df3fbf7c87 (patch) | |
tree | f2a809af5e698e1dbb8ebb986d75bc680e95d3d2 | |
parent | Fix crash when unfloating child of container into empty workspace (diff) | |
download | sway-0337609667ad1d01e0e0dc19231373df3fbf7c87.tar.gz sway-0337609667ad1d01e0e0dc19231373df3fbf7c87.tar.zst sway-0337609667ad1d01e0e0dc19231373df3fbf7c87.zip |
Focus child when showing a scratchpad container
-rw-r--r-- | sway/scratchpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/scratchpad.c b/sway/scratchpad.c index 787af6e1..b7d6fd99 100644 --- a/sway/scratchpad.c +++ b/sway/scratchpad.c | |||
@@ -82,7 +82,7 @@ static void scratchpad_show(struct sway_container *con) { | |||
82 | } | 82 | } |
83 | 83 | ||
84 | arrange_windows(ws); | 84 | arrange_windows(ws); |
85 | seat_set_focus(seat, con); | 85 | seat_set_focus(seat, seat_get_focus_inactive(seat, con)); |
86 | 86 | ||
87 | container_set_dirty(con->parent); | 87 | container_set_dirty(con->parent); |
88 | } | 88 | } |