From 9454e3ff7c7f1bd1caaa2ae80007397be185eea1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 18 Mar 2008 11:32:15 +0100 Subject: [PATCH] winex11: Fix typo that was causing superfluous updates of the visible rect. --- dlls/winex11.drv/winpos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index f215f41a04..42fffd8813 100644 --- a/dlls/winex11.drv/winpos.c +++ b/dlls/winex11.drv/winpos.c @@ -326,7 +326,7 @@ void X11DRV_SetWindowPos( HWND hwnd, HWND insert_after, UINT swp_flags, data->whole_rect = *rectWindow; data->client_rect = *rectClient; X11DRV_window_to_X_rect( data, &data->whole_rect ); - if (memcmp( &visible_rect, &data->whole_rect, sizeof(RECT) )) + if (memcmp( visible_rect, &data->whole_rect, sizeof(RECT) )) { TRACE( "%p: need to update visible rect %s -> %s\n", hwnd, wine_dbgstr_rect(visible_rect), wine_dbgstr_rect(&data->whole_rect) );