Skip to content
Snippets Groups Projects
Commit fdef173c authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

winex11: Make sure the clip window is created as soon as possible.

parent 2e901886
Branches
Tags
No related merge requests found
......@@ -2016,6 +2016,7 @@ BOOL CDECL X11DRV_CreateWindow( HWND hwnd )
wine_tsx11_lock();
data->clip_window = XCreateWindow( data->display, root_window, 0, 0, 1, 1, 0, 0,
InputOnly, visual, CWOverrideRedirect | CWEventMask, &attr );
XFlush( data->display );
wine_tsx11_unlock();
SetPropA( hwnd, clip_window_prop, (HANDLE)data->clip_window );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment