winex11: Ignore WM_PAINT for layered system tray icons.

This commit is contained in:
Alexandre Julliard 2012-10-25 11:53:57 +02:00
parent c347af5c67
commit 0eef9075f3
1 changed files with 2 additions and 0 deletions

View File

@ -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: