winex11: Get rid of the unused "old_screen_rect" field from struct desktop_resize_data.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0ec540276a
commit
60a7cb6633
|
@ -180,7 +180,6 @@ BOOL CDECL X11DRV_create_desktop( UINT width, UINT height )
|
||||||
|
|
||||||
struct desktop_resize_data
|
struct desktop_resize_data
|
||||||
{
|
{
|
||||||
RECT old_screen_rect;
|
|
||||||
RECT old_virtual_rect;
|
RECT old_virtual_rect;
|
||||||
RECT new_virtual_rect;
|
RECT new_virtual_rect;
|
||||||
};
|
};
|
||||||
|
@ -259,7 +258,6 @@ void X11DRV_resize_desktop( unsigned int width, unsigned int height )
|
||||||
HWND hwnd = GetDesktopWindow();
|
HWND hwnd = GetDesktopWindow();
|
||||||
struct desktop_resize_data resize_data;
|
struct desktop_resize_data resize_data;
|
||||||
|
|
||||||
resize_data.old_screen_rect = get_primary_monitor_rect();
|
|
||||||
resize_data.old_virtual_rect = get_virtual_screen_rect();
|
resize_data.old_virtual_rect = get_virtual_screen_rect();
|
||||||
|
|
||||||
xinerama_init( width, height );
|
xinerama_init( width, height );
|
||||||
|
|
Loading…
Reference in New Issue