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

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2015-11-23 17:16:03 +09:00
parent ace9d329e9
commit 9f5147e08f
1 changed files with 1 additions and 1 deletions

View File

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