Commit 0eef9075 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Ignore WM_PAINT for layered system tray icons.

parent c347af5c
......@@ -462,6 +462,7 @@ static LRESULT WINAPI tray_icon_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPAR
break;
case WM_PAINT:
if (!icon->layered)
{
PAINTSTRUCT ps;
RECT rc;
......@@ -477,6 +478,7 @@ static LRESULT WINAPI tray_icon_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPAR
EndPaint(hwnd, &ps);
return 0;
}
break;
case WM_MOUSEMOVE:
case WM_LBUTTONDOWN:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment