Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1179)

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 688473004: [Win] Make drawAttention on shaped windows only flash taskbar icon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler.cc
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index 43398be99a715eff01e3c9621bcdc3c1b0bbf84a..08e337f7ac4cf8cce5cd45de4a948a6f377faef0 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -734,7 +734,7 @@ void HWNDMessageHandler::FlashFrame(bool flash) {
fwi.cbSize = sizeof(fwi);
fwi.hwnd = hwnd();
if (flash) {
- fwi.dwFlags = FLASHW_ALL;
+ fwi.dwFlags = custom_window_region_ ? FLASHW_TRAY : FLASHW_ALL;
fwi.uCount = 4;
fwi.dwTimeout = 0;
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698