Alexandre Julliard : winex11: Use the thread connection to clear the systray icon window.
Alexandre Julliard
julliard at winehq.org
Fri Jan 22 08:26:53 CST 2010
Module: wine
Branch: master
Commit: baa7eed11c4f67b2daef61979c35232b09cdb471
URL: http://source.winehq.org/git/wine.git/?a=commit;h=baa7eed11c4f67b2daef61979c35232b09cdb471
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jan 22 12:44:59 2010 +0100
winex11: Use the thread connection to clear the systray icon window.
---
dlls/winex11.drv/systray.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/systray.c b/dlls/winex11.drv/systray.c
index bbe6b67..8ed1550 100644
--- a/dlls/winex11.drv/systray.c
+++ b/dlls/winex11.drv/systray.c
@@ -344,7 +344,7 @@ static BOOL modify_icon( struct tray_icon *icon, NOTIFYICONDATAW *nid )
if (icon->window)
{
struct x11drv_win_data *data = X11DRV_get_win_data( icon->window );
- if (data) XClearArea( gdi_display, data->client_window, 0, 0, 0, 0, True );
+ if (data) XClearArea( thread_display(), data->client_window, 0, 0, 0, 0, True );
}
}
More information about the wine-cvs
mailing list