Ken Thomases : winemac: Don' t accidentally unminimize a window when trying to change z-order.

Alexandre Julliard julliard at winehq.org
Tue Jun 4 15:48:35 CDT 2013


Module: wine
Branch: master
Commit: 841f158d81ab3555f67c24a824df2de618c139ef
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=841f158d81ab3555f67c24a824df2de618c139ef

Author: Ken Thomases <ken at codeweavers.com>
Date:   Tue Jun  4 04:59:39 2013 -0500

winemac: Don't accidentally unminimize a window when trying to change z-order.

---

 dlls/winemac.drv/cocoa_window.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m
index 5ee1aac..2da8a08 100644
--- a/dlls/winemac.drv/cocoa_window.m
+++ b/dlls/winemac.drv/cocoa_window.m
@@ -708,7 +708,7 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
     {
         WineApplicationController* controller = [WineApplicationController sharedController];
         BOOL on_screen = frame_intersects_screens([self frame], [NSScreen screens]);
-        if (on_screen)
+        if (on_screen && ![self isMiniaturized])
         {
             BOOL needAdjustWindowLevels = FALSE;
 




More information about the wine-cvs mailing list