summary history branches tags files
commit:8d3eabdcccb346b520bbed9905b0dd440863fb91
author:Trevor Bentley
committer:Trevor Bentley
date:Wed Feb 13 20:23:38 2019 +0100
parents:405402c70b6d7e7f7cbb2f8998810d460fcca9ad
Fix bug in event mask that caused Apple events to be ignored
diff --git a/src/osx.rs b/src/osx.rs
line changes: +1/-1
index 93a0034..d458cc6
--- a/src/osx.rs
+++ b/src/osx.rs
@@ -540,7 +540,7 @@ impl FruitApp {
                 }
                 let mode = self.run_mode;
                 let event: *mut Object = msg_send![self.app,
-                                                   nextEventMatchingMask: -1
+                                                   nextEventMatchingMask: 0xffffffffffffffffu64
                                                    untilDate: nil
                                                    inMode: mode
                                                    dequeue: 1];