[Windows] Flash both the window caption and taskbar button on request_attention.

(cherry picked from commit 49af2582c4)
This commit is contained in:
bruvzg 2023-06-15 11:04:54 +03:00 committed by Yuri Sizov
parent 4e84660b50
commit 221535c33c

View File

@ -1598,7 +1598,7 @@ void DisplayServerWindows::window_request_attention(WindowID p_window) {
FLASHWINFO info; FLASHWINFO info;
info.cbSize = sizeof(FLASHWINFO); info.cbSize = sizeof(FLASHWINFO);
info.hwnd = wd.hWnd; info.hwnd = wd.hWnd;
info.dwFlags = FLASHW_TRAY; info.dwFlags = FLASHW_ALL;
info.dwTimeout = 0; info.dwTimeout = 0;
info.uCount = 2; info.uCount = 2;
FlashWindowEx(&info); FlashWindowEx(&info);