From: Rémi Bernon <rbernon(a)codeweavers.com> This tends to trigger window mapping with some window managers. --- dlls/winex11.drv/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 4eb7c4d06d1..0c1738c26c6 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1216,6 +1216,7 @@ static void window_set_net_wm_state( struct x11drv_win_data *data, UINT new_stat if (!data->whole_window) return; /* no window, nothing to update */ if (old_state == new_state) return; /* states are the same, nothing to update */ + if (data->pending_state.wm_state == IconicState) return; /* window is iconic, don't update its state now */ if (!data->mapped) /* set the _NET_WM_STATE atom directly */ { Atom atoms[NB_NET_WM_STATES + 1]; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6809