summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-06-26 18:56:42 +0100
committerVincent Sanders <vince@kyllikki.org>2014-06-26 19:05:59 +0100
commit8944edd649e74e4864f36d7293921385ba5ca2c7 (patch)
tree1a901e8323944bcee35b972328812ed559b87950 /cocoa
parent1b7aa7ffe53843f072e3de5e28bdf06faa7980b9 (diff)
downloadnetsurf-8944edd649e74e4864f36d7293921385ba5ca2c7.tar.gz
netsurf-8944edd649e74e4864f36d7293921385ba5ca2c7.tar.bz2
convert all frontends to scheduled fetch operation
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/gui.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m
index 1cb19a756..713f456cd 100644
--- a/cocoa/gui.m
+++ b/cocoa/gui.m
@@ -53,7 +53,7 @@ static void gui_poll(bool active)
{
cocoa_autorelease();
- NSEvent *event = [NSApp nextEventMatchingMask: NSAnyEventMask untilDate: active ? nil : [NSDate distantFuture]
+ NSEvent *event = [NSApp nextEventMatchingMask: NSAnyEventMask untilDate: [NSDate distantFuture]
inMode: NSDefaultRunLoopMode dequeue: YES];
if (nil != event) {