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/commands/swap.c | |
parent | cd02d60a992ee38689a0d17fc69c4e2b1956f266 (diff) | |
parent | ac20690945f1cd44c4c22267c9e7a172ebcf5ba5 (diff) | |
download | sway-113751ea48b9ffa537c357373913ca9caecb68e0.tar.xz |
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/commands/swap.c')
-rw-r--r-- | sway/commands/swap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/swap.c b/sway/commands/swap.c index d8ffe78c..9cc0d5c2 100644 --- a/sway/commands/swap.c +++ b/sway/commands/swap.c @@ -61,13 +61,13 @@ static void swap_focus(struct sway_container *con1, enum sway_container_layout layout2 = container_parent_layout(con2); if (focus == con1 && (layout2 == L_TABBED || layout2 == L_STACKED)) { if (workspace_is_visible(ws2)) { - seat_set_focus_warp(seat, &con2->node, false, true); + seat_set_focus_warp(seat, &con2->node, false); } seat_set_focus_container(seat, ws1 != ws2 ? con2 : con1); } else if (focus == con2 && (layout1 == L_TABBED || layout1 == L_STACKED)) { if (workspace_is_visible(ws1)) { - seat_set_focus_warp(seat, &con1->node, false, true); + seat_set_focus_warp(seat, &con1->node, false); } seat_set_focus_container(seat, ws1 != ws2 ? con1 : con2); } else if (ws1 != ws2) { |