Commit 4c651e39 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Don't unminimize a window on first activation during start-up.

parent 598ff4dd
......@@ -81,6 +81,8 @@ enum {
NSTimeInterval lastEventTapEventTime;
NSImage* applicationIcon;
BOOL beenActive;
}
@property (nonatomic) CGEventSourceKeyboardType keyboardType;
......
......@@ -1707,7 +1707,7 @@ int macdrv_err_on;
[self adjustWindowLevels:YES];
if (![self frontWineWindow])
if (beenActive && ![self frontWineWindow])
{
for (WineWindow* window in [NSApp windows])
{
......@@ -1718,6 +1718,7 @@ int macdrv_err_on;
}
}
}
beenActive = TRUE;
// If a Wine process terminates abruptly while it has the display captured
// and switched to a different resolution, Mac OS X will uncapture the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment