Commit baa7eed1 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent dabda7e3
......@@ -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 );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment