aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-27 13:48:20 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-28 22:41:04 +1000
commit0337609667ad1d01e0e0dc19231373df3fbf7c87 (patch)
treef2a809af5e698e1dbb8ebb986d75bc680e95d3d2
parentdebb8e85b2808e4b5e8ff79a702ffc48efc36389 (diff)
downloadsway-0337609667ad1d01e0e0dc19231373df3fbf7c87.tar.xz
Focus child when showing a scratchpad container
-rw-r--r--sway/scratchpad.c2
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) {
}
arrange_windows(ws);
- seat_set_focus(seat, con);
+ seat_set_focus(seat, seat_get_focus_inactive(seat, con));
container_set_dirty(con->parent);
}