git.lucas.co / cce-cloud
cloud storage client
git clone https://git.lucas.co/cce-cloud.git

commitff4eca7b48ce4cb0b76cde0e89895dded104c31a
parent22dda7010b
authorLucas Galante <[email protected]>
date2026-06-24 21:21
fix: initialize super_pressed to true in switcher mode to capture release modifier event properly

 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index fdfa94c..7148a7d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2311,7 +2311,7 @@ fn main() {
         exit: false,
         redraw: false,
         ctrl_pressed: false,
-        super_pressed: false,
+        super_pressed: switcher_mode,
         switcher_mode,
         fade_out: false,
         fade_start: None,