winex11: Sync with gdi_display before closing the threads display.
This commit is contained in:
parent
1571c12129
commit
6c44228c1f
1 changed files with 1 additions and 0 deletions
|
@ -721,6 +721,7 @@ void X11DRV_ThreadDetach(void)
|
|||
vulkan_thread_detach();
|
||||
if (data->xim) XCloseIM( data->xim );
|
||||
if (data->font_set) XFreeFontSet( data->display, data->font_set );
|
||||
XSync( gdi_display, False ); /* make sure XReparentWindow requests have completed before closing the thread display */
|
||||
XCloseDisplay( data->display );
|
||||
free( data );
|
||||
/* clear data in case we get re-entered from user32 before the thread is truly dead */
|
||||
|
|
Loading…
Add table
Reference in a new issue