[Git][wine/wine][master] winex11.drv: Do not set the pending NET_ACTIVE_WINDOW when we're skipping it.
Alexandre Julliard pushed to branch master at wine / wine Commits: a3b40267 by Gabriel Ivăncescu at 2026-02-23T14:21:54+01:00 winex11.drv: Do not set the pending NET_ACTIVE_WINDOW when we're skipping it. When the window is created unmapped (on X11 side), and receives focus which is set correctly on the win32 side, it can receive a NET_ACTIVE_WINDOW before it is mapped. This leads to set_net_active_window being skipped with the WARN, even though we set the pending_state to the window. Later when it is mapped, set_net_active_window will return early because of pending_state's net_active_window being set to the same window, even though we actually skipped it. Fixes a regression starting with 0dc7e4046836595335cd64c92cc132791d78fba4 (although it's not fixed by reverting its logic now). Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> - - - - - 1 changed file: - dlls/winex11.drv/window.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/a3b40267c57877aafebe21b3dcf8d86... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/a3b40267c57877aafebe21b3dcf8d86... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)