diff options
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, | |||
1202 | container_add_child(cont, child); | 1202 | container_add_child(cont, child); |
1203 | 1203 | ||
1204 | if (set_focus) { | 1204 | if (set_focus) { |
1205 | seat_set_focus_container(seat, cont); | 1205 | seat_set_raw_focus(seat, &cont->node); |
1206 | seat_set_focus_container(seat, child); | 1206 | seat_set_raw_focus(seat, &child->node); |
1207 | } | 1207 | } |
1208 | 1208 | ||
1209 | return cont; | 1209 | return cont; |