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

Alexandre Julliard julliard at winehq.org
Mon Mar 4 13:23:39 CST 2013


Module: wine
Branch: master
Commit: f15a5ff70f43b98e0d2af4fd3a3c028c11871688
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f15a5ff70f43b98e0d2af4fd3a3c028c11871688

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar  4 13:34:06 2013 +0100

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

---

 dlls/winex11.drv/window.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index ec15afc..d19a5fd 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 );




More information about the wine-cvs mailing list