winex11: Fix typo that was causing superfluous updates of the visible rect.

This commit is contained in:
Alexandre Julliard 2008-03-18 11:32:15 +01:00
parent 075df1b609
commit 9454e3ff7c

View File

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