diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index b7636770e7e..836e62c88ae 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;