http://bugs.winehq.org/show_bug.cgi?id=31916
--- Comment #3 from Brandon Howard FinalCrisisSX@Hotmail.com 2012-10-09 00:10:02 CDT --- Created attachment 42034 --> http://bugs.winehq.org/attachment.cgi?id=42034 Remove SWP_SHOWWINDOW wine 1.5.14
Yes, it does appear to fix the issue when applied to latest git :D. Since it won't apply to 1.5.14, I'm attaching a patch that does the same thing for 1.5.14 (and possibly older versions). I have no trouble with either so far after about 20 minutes of tinkering apiece. Will post if there's any further trouble.
Also, I appear to be able to reproduce this now in a quick/simple way: just set steam to not remember your login info so that it does not log in automatically, and instead shows you the login screen. Doing "switch user" then hitting cancel before logging in, then restarting steam would probably accomplish this. Have a terminal window or something up while running xfwm4, launch steam to get to the login screen, and try to click in the terminal window. The steam login window will flicker then come immediately back into focus.