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

oldstable
Alexandre Julliard 2012-02-13 20:52:03 +01:00
parent 2e90188675
commit fdef173ce0
1 changed files with 1 additions and 0 deletions

View File

@ -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 );
}