Commit 51d3d620 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Reset the cursor window when re-creating the client window.

parent 22f146f0
...@@ -246,6 +246,8 @@ static Window create_client_window( Display *display, struct x11drv_win_data *da ...@@ -246,6 +246,8 @@ static Window create_client_window( Display *display, struct x11drv_win_data *da
if (data->client_window) if (data->client_window)
{ {
struct x11drv_thread_data *thread_data = x11drv_thread_data();
if (thread_data->cursor_window == data->client_window) thread_data->cursor_window = None;
XDeleteContext( display, data->client_window, winContext ); XDeleteContext( display, data->client_window, winContext );
XDestroyWindow( display, data->client_window ); XDestroyWindow( display, data->client_window );
} }
......
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