Browse Source

Merge pull request #78263 from bruvzg/fl_all

[Windows] Flash both the window caption and taskbar button on `request_attention`.
Rémi Verschelde 2 years ago
parent
commit
3a3ec4add1
1 changed files with 1 additions and 1 deletions
  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;
 	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);