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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 22 08:57:37 CST 2016


Module: wine
Branch: master
Commit: 60a7cb663322f55a3b5a05a028737ac9f7a93630
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=60a7cb663322f55a3b5a05a028737ac9f7a93630

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Feb 19 17:28:44 2016 +0100

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

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list