Module: wine Branch: master Commit: 9454e3ff7c7f1bd1caaa2ae80007397be185eea1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9454e3ff7c7f1bd1caaa2ae800...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Mar 18 11:32:15 2008 +0100
winex11: Fix typo that was causing superfluous updates of the visible rect.
---
dlls/winex11.drv/winpos.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index f215f41..42fffd8 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) );