[Git][wine/wine][master] winex11: Set net_active_window_serial when activating withdrawn windows.

"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]> Mon, 22 Dec 2025 16:58:26 -0600
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

Alexandre Julliard pushed to branch master at wine / wine


Commits:
e4a14b8c by Rémi Bernon at 2025-12-22T13:10:55+01:00
winex11: Set net_active_window_serial when activating withdrawn windows.

The workaround to avoid breaking Cinnamon / Muffin caused some logic
change, where GetWindowStateUpdates started returning the previously
active window as foreground, as there's no _NET_ACTIVE_WINDOW pending
request being recorded anymore.

If GetWindowStateUpdates gets called after the window activation request
but before its mapping is requested from WindowStateChanged, it would
change the Win32 foreground window too, causing spurious focus loss.

Fixes: c8422a619b46d25e55907fd5526b1d9fae8c3943

- - - - -


1 changed file:

- dlls/winex11.drv/window.c


View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/e4a14b8ce23d69213b7d161ba3f420d0b8b578e5

-- 
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/e4a14b8ce23d69213b7d161ba3f420d0b8b578e5
You're receiving this email because of your account on gitlab.winehq.org.