winex11: Use the thread connection to clear the systray icon window.

This commit is contained in:
Alexandre Julliard 2010-01-22 12:44:59 +01:00
parent dabda7e3ee
commit baa7eed11c
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}