From 93df424379e7246eec47c220ccb447eba4b009b7 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Wed, 2 Feb 2022 06:36:54 +0100 Subject: [PATCH] Handle new windows appearing during next/prev-* command sequence Fixes: https://todo.sr.ht/~tsdh/swayr/14 --- src/demon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demon.rs b/src/demon.rs index 4b1b769..2765d6f 100644 --- a/src/demon.rs +++ b/src/demon.rs @@ -212,7 +212,7 @@ fn update_last_focus_tick( id, t::ExtraProps { last_focus_tick: focus_val, - last_focus_tick_for_next_prev_seq: 0, + last_focus_tick_for_next_prev_seq: focus_val, }, ); }