From 907dd1f4428d9f71ac0afd8ed3e194daab1da671 Mon Sep 17 00:00:00 2001 From: John Tur Date: Fri, 24 Jul 2026 17:44:30 -0400 Subject: [PATCH] gpui_windows: Only flash the window once on request_attention (#61611) The current behavior bothers me. Release Notes: - N/A --- crates/gpui_windows/src/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/gpui_windows/src/window.rs b/crates/gpui_windows/src/window.rs index a8ee1bbb13..99d095f9aa 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::() as u32, hwnd, - dwFlags: FLASHW_ALL | FLASHW_TIMERNOFG, - uCount: 0, + dwFlags: FLASHW_ALL, + uCount: 1, dwTimeout: 0, }; unsafe { FlashWindowEx(&info).ok().log_err() };