From b12c7d3deb3f95966133fc9580fea210dd7c100d Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 8 Jul 2026 11:24:42 +0200 Subject: [PATCH] style(windows): satisfy rustfmt on the uninstall() teardown comments rustfmt 1.9.0 aligns standalone // lines out to the column of a preceding trailing comment, so the two-line fullscreen note placed right after `set_captured(...); // ...` failed `cargo fmt --check`. Make the first note a leading comment so no standalone comment follows a trailing one. Co-Authored-By: Claude Opus 4.8 (1M context) --- clients/windows/src/input.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/windows/src/input.rs b/clients/windows/src/input.rs index 8b5c644c..5da5cdca 100644 --- a/clients/windows/src/input.rs +++ b/clients/windows/src/input.rs @@ -179,7 +179,8 @@ pub fn uninstall() { } } if let Some(mut st) = STATE.lock().unwrap().take() { - set_captured(&mut st, false); // hand the cursor back + flush held state + // Hand the cursor back + flush held state. + set_captured(&mut st, false); // Fullscreen is a streaming-only mode: if F11 put us there, drop back to a normal window // so the GUI (the host list) is never left borderless-fullscreen after the stream ends. exit_fullscreen(HWND(st.hwnd as *mut _));