Alexandre Julliard : winex11: Fix a copy&paste typo in the initial position of a window.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 23 09:59:46 CST 2015


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Nov 23 17:16:03 2015 +0900

winex11: Fix a copy&paste typo in the initial position of a window.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winex11.drv/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index b763677..836e62c 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -1501,7 +1501,7 @@ static void create_whole_window( struct x11drv_win_data *data )
     else if (cy > 65535) cy = 65535;
 
     pos = virtual_screen_to_root( data->whole_rect.left, data->whole_rect.top );
-    data->whole_window = XCreateWindow( data->display, root_window, pos.y, pos.y,
+    data->whole_window = XCreateWindow( data->display, root_window, pos.x, pos.y,
                                         cx, cy, 0, data->vis.depth, InputOutput,
                                         data->vis.visual, mask, &attr );
     if (!data->whole_window) goto done;




More information about the wine-cvs mailing list