From 93df424379e7246eec47c220ccb447eba4b009b7 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Wed, 2 Feb 2022 06:36:54 +0100 Subject: [PATCH 1/2] 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, }, ); } From 7aebefa161c0f1bad5de409d7a81361ec394a4fd Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Wed, 2 Feb 2022 06:39:34 +0100 Subject: [PATCH 2/2] Release swayr 0.12.2 --- Cargo.lock | 10 +++++----- Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2a33d48..9e0540d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -42,9 +42,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "3.0.13" +version = "3.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08799f92c961c7a1cf0cc398a9073da99e21ce388b46372c37f3191f2f3eed3e" +checksum = "b63edc3f163b3c71ec8aa23f9bd6070f77edbf3d1d198b164afa90ff00e4ec62" dependencies = [ "atty", "bitflags", @@ -59,9 +59,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.0.12" +version = "3.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd2078197a22f338bd4fbf7d6387eb6f0d6a3c69e6cbc09f5c93e97321fd92a" +checksum = "9a1132dc3944b31c20dd8b906b3a9f0a5d0243e092d59171414969657ac6aa85" dependencies = [ "heck", "proc-macro-error", @@ -356,7 +356,7 @@ dependencies = [ [[package]] name = "swayr" -version = "0.12.1" +version = "0.12.2" dependencies = [ "clap", "directories", diff --git a/Cargo.toml b/Cargo.toml index 145fd52..42067b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "swayr" -version = "0.12.1" +version = "0.12.2" description = "A LRU window-switcher (and more) for the sway window manager" homepage = "https://sr.ht/~tsdh/swayr/" repository = "https://git.sr.ht/~tsdh/swayr"