Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui_windows: Only flash the window once on request_attention (#61611)
John Tur50e399332c12
diff --git a/crates/gpui_windows/src/window.rs b/crates/gpui_windows/src/window.rsindex a8ee1bbb139..99d095f9aab 100644--- a/crates/gpui_windows/src/window.rs+++ b/crates/gpui_windows/src/window.rs@@ -842,8 +842,8 @@ impl PlatformWindow for WindowsWindow {let info = FLASHWINFO {cbSize: std::mem::size_of::<FLASHWINFO>() as u32,hwnd,- dwFlags: FLASHW_ALL | FLASHW_TIMERNOFG,- uCount: 0,+ dwFlags: FLASHW_ALL,+ uCount: 1,dwTimeout: 0,};unsafe { FlashWindowEx(&info).ok().log_err() };