Commit 47352930 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Discard old frame changed events when setting frame for off-screen windows, too.

parent 8fa295ed
......@@ -445,6 +445,14 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
event. The back end will ignore it if nothing actually changed. */
[self windowDidResize:nil];
}
else
{
/* The back end is establishing a new window size and position. It's
not interested in any stale events regarding those that may be sitting
in the queue. */
[queue discardEventsMatchingMask:event_mask_for_type(WINDOW_FRAME_CHANGED)
forWindow:self];
}
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