Commit f15a5ff7 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Explicitly set the border pixel when creating the client window.

parent 704412b4
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment