diff options
author | Paul Rouget <me@paulrouget.com> | 2016-03-01 00:56:11 +0100 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2016-03-01 00:56:11 +0100 |
commit | 366608d026b7bcdb2b7478e932b0776ad0b51531 (patch) | |
tree | c77cd7f675add0f10dbea6f429dd3c1154d909fc /src | |
parent | 6a6d7a29d5d8216a4756b6550ddb0065d556fb4a (diff) | |
parent | bcd7999bf60c49c6df5f1e1536b53c44d5801e13 (diff) | |
download | glutin-366608d026b7bcdb2b7478e932b0776ad0b51531.tar.gz glutin-366608d026b7bcdb2b7478e932b0776ad0b51531.zip |
Merge pull request #731 from pcwalton/event-deflooding-tomaka
cocoa: Post Awakened events at the end of the queue to avoid floods.
Diffstat (limited to 'src')
-rw-r--r-- | src/api/cocoa/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } |