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:
1 parent
8457a4ccf4
commit
907dd1f442
1 file changed
+2
-2
@@ -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() };
|
||||
|
||||
Reference in new issue
Block a user