From: Rémi Bernon rbernon@codeweavers.com
--- dlls/winex11.drv/window.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 4992d8c42c4..4eb7c4d06d1 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1271,9 +1271,11 @@ static void window_set_net_wm_state( struct x11drv_win_data *data, UINT new_stat static void window_set_config( struct x11drv_win_data *data, const RECT *new_rect, BOOL above ) { UINT style = NtUserGetWindowLongW( data->hwnd, GWL_STYLE ), mask = 0; + const RECT *old_rect = &data->pending_state.rect; XWindowChanges changes;
if (!data->whole_window) return; /* no window, nothing to update */ + if (EqualRect( old_rect, new_rect )) return; /* rects are the same, nothing to update */
/* resizing a managed maximized window is not allowed */ if (!(style & WS_MAXIMIZE) || !data->managed)