systray [1]: transparent icons: do not paint background

Kirill K. Smirnov lich at math.spbu.ru
Fri Dec 29 15:58:34 CST 2006


Hi!
This bunch of patches is a bugfix for 
http://bugs.winehq.org/show_bug.cgi?id=3534

ChangeLog:
  Do not paint background in systrays adaptor windows
-------------- next part --------------
diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c
index 7fc66fd..39c4124 100644
--- a/programs/explorer/systray.c
+++ b/programs/explorer/systray.c
@@ -433,7 +433,7 @@ void initialize_systray(void)
     class.hInstance     = NULL;
     class.hIcon         = LoadIcon(0, IDI_WINLOGO);
     class.hCursor       = LoadCursor(0, IDC_ARROW);
-    class.hbrBackground = (HBRUSH) COLOR_WINDOW;
+    class.hbrBackground = NULL;
     class.lpszClassName = adaptor_classname;
     class.style         = CS_SAVEBITS | CS_DBLCLKS;
 


More information about the wine-patches mailing list