diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-10-16 10:59:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 10:59:09 +0100 |
commit | 113751ea48b9ffa537c357373913ca9caecb68e0 (patch) | |
tree | 994739d4ba8388d7a336ac825a618daf2274ec66 /sway/tree/container.c | |
parent | cd02d60a992ee38689a0d17fc69c4e2b1956f266 (diff) | |
parent | ac20690945f1cd44c4c22267c9e7a172ebcf5ba5 (diff) |
Merge pull request #2836 from RyanDwyer/set-set-raw-focus
Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index f36fe4b0..edab7a17 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -1202,8 +1202,8 @@ struct sway_container *container_split(struct sway_container *child, container_add_child(cont, child); if (set_focus) { - seat_set_focus_container(seat, cont); - seat_set_focus_container(seat, child); + seat_set_raw_focus(seat, &cont->node); + seat_set_raw_focus(seat, &child->node); } return cont; |