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

This commit is contained in:
Alexandre Julliard 2013-03-04 13:34:06 +01:00
parent 704412b459
commit f15a5ff70f

View File

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