gpui_windows: Only flash the window once on request_attention (#61611)

The current behavior bothers me.

Release Notes:

- N/A
This commit is contained in:
John Tur authored and GitHub committed 2026-07-24 21:44:30 +00:00
1 parent 8457a4ccf4
commit 907dd1f442
1 file changed
+2 -2
+2 -2
View File
@@ -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() };