[PATCH 3/5] winex11: Get rid of the unused "old_screen_rect" field from struct desktop_resize_data.

Henri Verbeet hverbeet at codeweavers.com
Fri Feb 19 10:28:44 CST 2016


Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
 dlls/winex11.drv/desktop.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c
index 603e19f..9b5e27b 100644
--- a/dlls/winex11.drv/desktop.c
+++ b/dlls/winex11.drv/desktop.c
@@ -180,7 +180,6 @@ BOOL CDECL X11DRV_create_desktop( UINT width, UINT height )
 
 struct desktop_resize_data
 {
-    RECT  old_screen_rect;
     RECT  old_virtual_rect;
     RECT  new_virtual_rect;
 };
@@ -259,7 +258,6 @@ void X11DRV_resize_desktop( unsigned int width, unsigned int height )
     HWND hwnd = GetDesktopWindow();
     struct desktop_resize_data resize_data;
 
-    resize_data.old_screen_rect = get_primary_monitor_rect();
     resize_data.old_virtual_rect = get_virtual_screen_rect();
 
     xinerama_init( width, height );
-- 
2.1.4




More information about the wine-patches mailing list