On Wed Feb 18 16:39:50 2026 +0000, Gabriel Ivăncescu wrote:
Activated where? Isn't that what set_net_active_window is supposed to do? The problem is that the pending state is supposed to represent a pending operation we already did, right? But we never did it, because we skipped it (and just did a XNoOp instead), so exiting early in such case doesn't make sense. Windows are activated automatically when they are being mapped, if their WM_HINTS input field is 1 or offered activation through WM_TAKE_FOCUS if they indicate support for it (which is essentially the same, only that with WM_TAKE_FOCUS we have an additional option to accept or refuse activation), unless their _NET_WM_USER_TIME property is set to 0.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10133#note_129910