Selaa lähdekoodia

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

(cherry picked from commit 49af2582c41cc553c2ee4a388df9ddf3bda3cdda)
bruvzg 2 vuotta sitten
vanhempi
commit
221535c33c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      platform/windows/display_server_windows.cpp

+ 1 - 1
platform/windows/display_server_windows.cpp

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