diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index ec15afcffe..d19a5fdd31 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -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 );