Commit 0757a663 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Ignore Cocoa's window frame adjustments for off-screen windows.

parent 3ab66a69
......@@ -265,10 +265,6 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
[window setContentView:contentView];
/* In case Cocoa adjusted the frame we tried to set, generate a frame-changed
event. The back end will ignore it if nothing actually changed. */
[window windowDidResize:nil];
return window;
}
......@@ -424,9 +420,12 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
[self setFrame:frame display:YES];
}
if (on_screen)
{
/* In case Cocoa adjusted the frame we tried to set, generate a frame-changed
event. The back end will ignore it if nothing actually changed. */
[self windowDidResize:nil];
}
return on_screen;
}
......
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