From bcd7999bf60c49c6df5f1e1536b53c44d5801e13 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 29 Feb 2016 15:10:35 -0800 Subject: cocoa: Post Awakened events at the end of the queue to avoid floods. Closes servo/webrender#179. --- src/api/cocoa/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/cocoa') diff --git a/src/api/cocoa/mod.rs b/src/api/cocoa/mod.rs index 429572f..abcd735 100644 --- a/src/api/cocoa/mod.rs +++ b/src/api/cocoa/mod.rs @@ -204,7 +204,7 @@ impl WindowProxy { NSEvent::otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2_( nil, NSApplicationDefined, NSPoint::new(0.0, 0.0), NSEventModifierFlags::empty(), 0.0, 0, nil, NSApplicationActivatedEventType, 0, 0); - NSApp().postEvent_atStart_(event, YES); + NSApp().postEvent_atStart_(event, NO); pool.drain(); } } -- cgit v1.2.3