commit 0337609667ad1d01e0e0dc19231373df3fbf7c87 parent debb8e85b2808e4b5e8ff79a702ffc48efc36389 Author: Ryan Dwyer <ryandwyer1@gmail.com> Date: Fri, 27 Jul 2018 13:48:20 +1000 Focus child when showing a scratchpad container Diffstat:
| M | sway/scratchpad.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/scratchpad.c b/sway/scratchpad.c @@ -82,7 +82,7 @@ static void scratchpad_show(struct sway_container *con) { } arrange_windows(ws); - seat_set_focus(seat, con); + seat_set_focus(seat, seat_get_focus_inactive(seat, con)); container_set_dirty(con->parent); }