http://bugs.winehq.org/show_bug.cgi?id=2155
------- Additional Comments From rmh@aybabtu.com 2007-05-04 02:07 ------- It seems the fix would involve using the EWMH protocol's _NET_ACTIVE_WINDOW message (http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2506353).
And there's a good reference to start with: http://www.winehq.org/pipermail/wine-patches/2004-May/011155.html
I'll have a look into this (if noone beats me to it).