Commit 60a7cb66 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

winex11: Get rid of the unused "old_screen_rect" field from struct desktop_resize_data.

parent 0ec54027
...@@ -180,7 +180,6 @@ BOOL CDECL X11DRV_create_desktop( UINT width, UINT height ) ...@@ -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 ) ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment