winemac: Don't unminimize a window for SetFocus().

Ken Thomases ken at
Mon Aug 26 20:13:44 CDT 2013

With this change, much of the code of -makeFocused: was nearly functionally
identical to calling -orderBelow:orAbove:activate: with nil window arguments.
So, I eliminated the duplicate code.

Fixes an issue where minimizing Visio 2007 caused it to go down into the Dock,
come back up from the Dock, and then go down into it again.
dlls/winemac.drv/cocoa_window.m | 58 +----------------------------------------
1 file changed, 1 insertion(+), 57 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac-Don-t-unminimize-a-window-for-SetFocus.patch
Type: text/x-patch
Size: 2841 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list