http://bugs.winehq.org/show_bug.cgi?id=58443
--- Comment #2 from zlice zlice@crtdrift.us --- 3ae66c75cf443c0be403d9fe4e4da3c19b3ad9a8 also contributes to this behavior
https://gitlab.winehq.org/wine/wine/-/commit/3ae66c75cf443c0be403d9fe4e4da3c...
i am question a lot of it ?
in event.c : window_set_wm_state - `set_focus` - it looks like it should be `if _NET_ACTIVE_WINDOW - return` or something
in window.c : `if (data->hwnd == foreground || data->is_fullscreen) activate = TRUE;`
makes no sense? fullscreen does not imply active in linux/x11? i have mpv fullscreened in the background all the time while i look stuff up. or may have something fullscreen on another monitor that is not active.
even then, why try to activate a foreground window? that should mean it's active?
seeing that window_set_wm_state is called on state change notifiy's and WindowPosChanged, that seems wrong
event.c has another 'check if foreground && active) - set_net_active ... which seems weird
idk the wine code that well, so this is probably beyond me. but it definitely breaks even without the previous MINIMIZE check previously bisected