mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
winex11: Explicitly set the border pixel when creating the client window.
This commit is contained in:
parent
704412b459
commit
f15a5ff70f
@ -1384,11 +1384,12 @@ Window create_client_window( struct x11drv_win_data *data, const XVisualInfo *vi
|
||||
attr.win_gravity = NorthWestGravity;
|
||||
attr.backing_store = NotUseful;
|
||||
attr.event_mask = ExposureMask;
|
||||
attr.border_pixel = 0;
|
||||
|
||||
data->client_window = XCreateWindow( data->display, data->whole_window, x, y, cx, cy,
|
||||
0, default_visual.depth, InputOutput, visual->visual,
|
||||
CWBitGravity | CWWinGravity | CWBackingStore |
|
||||
CWColormap | CWEventMask, &attr );
|
||||
CWColormap | CWEventMask | CWBorderPixel, &attr );
|
||||
if (!data->client_window) return 0;
|
||||
|
||||
XSaveContext( data->display, data->client_window, winContext, (char *)data->hwnd );
|
||||
|
Loading…
Reference in New Issue
Block a user