Module: wine Branch: master Commit: 0eef9075f3ebe4d05e700e20950c817bf1ca423b URL: http://source.winehq.org/git/wine.git/?a=commit;h=0eef9075f3ebe4d05e700e2095...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Oct 25 11:53:57 2012 +0200
winex11: Ignore WM_PAINT for layered system tray icons.
---
dlls/winex11.drv/systray.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/systray.c b/dlls/winex11.drv/systray.c index 5f0791e..a694610 100644 --- a/dlls/winex11.drv/systray.c +++ b/dlls/winex11.drv/systray.c @@ -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: