diff options
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/layout.c b/sway/layout.c index 180aafa0..b1139b1b 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -204,7 +204,7 @@ void swap_container(swayc_t *a, swayc_t *b) { | |||
204 | if (a_parent->focused == a) { | 204 | if (a_parent->focused == a) { |
205 | a_parent->focused = b; | 205 | a_parent->focused = b; |
206 | } | 206 | } |
207 | // dont want to double switch | 207 | // don't want to double switch |
208 | if (b_parent->focused == b && a_parent != b_parent) { | 208 | if (b_parent->focused == b && a_parent != b_parent) { |
209 | b_parent->focused = a; | 209 | b_parent->focused = a; |
210 | } | 210 | } |