https://bugs.winehq.org/show_bug.cgi?id=48121
impurered58@riseup.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |impurered58@riseup.net
--- Comment #7 from impurered58@riseup.net --- This is caused caused by this code: https://github.com/wine-mirror/wine/blob/master/dlls/winex11.drv/event.c#L70... recently changed - but not fixed - in this commit: https://github.com/wine-mirror/wine/commit/cfcc280905b7804efde8f42bcd6bddbe5...
Unity only decides to activate for WM_ACTIVATE if the last WM_MOUSEACTIVATE has hit HTCLIENT.
On Windows, this serves so that the window isn't active while dragging the window using caption, and only activates on release, which is why the PoC patch works.
I'd recommend rolling back the mentioned commit, and simulating a click and a release on the caption. This would both replace the fix of the commit, and fix this issue.