[PATCH 0/1] MR9805: winex11: Don't request activation of withdrawn windows.
This confuses Cinnamon, and the window doesn't automatically activate when it later gets mapped. We should handle proper activation request in window_set_wm_state already. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58505 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9805
From: Rémi Bernon <rbernon@codeweavers.com> This confuses Cinnamon, and the window doesn't automatically activate when it later gets mapped. We should handle proper activation request in window_set_wm_state already. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58505 --- 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 e5cf1c90080..eea73ae390d 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -2025,6 +2025,7 @@ static BOOL window_set_pending_activate( HWND hwnd ) if (!(data = get_win_data( hwnd ))) return FALSE; if ((pending = !!data->wm_state_serial)) data->pending_state.activate = TRUE; + if (data->pending_state.wm_state == WithdrawnState) pending = TRUE; release_win_data( data ); return pending; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9805
participants (2)
-
Rémi Bernon -
Rémi Bernon (@rbernon)