winex11: Reset the cursor window when re-creating the client window.
This commit is contained in:
parent
22f146f011
commit
51d3d620cf
|
@ -246,6 +246,8 @@ static Window create_client_window( Display *display, struct x11drv_win_data *da
|
|||
|
||||
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 );
|
||||
XDestroyWindow( display, data->client_window );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue