From: Rémi Bernon rbernon@codeweavers.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58277 --- dlls/winex11.drv/window.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index f271e55200a..a372ab79d16 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1399,6 +1399,9 @@ static void window_set_config( struct x11drv_win_data *data, RECT rect, BOOL abo TRACE( "window %p/%lx, requesting config %s mask %#x above %u, serial %lu\n", data->hwnd, data->whole_window, wine_dbgstr_rect(new_rect), mask, above, data->configure_serial ); XReconfigureWMWindow( data->display, data->whole_window, data->vis.screen, mask, &changes ); + + /* don't expect a ConfigureNotify while window is unmapped */ + if (data->pending_state.wm_state == WithdrawnState) data->configure_serial = 0; }
/***********************************************************************