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>