summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-28 17:48:55 +0000
committerManolo Gouy <Manolo>2011-02-28 17:48:55 +0000
commit8c9d34facfdc630a6a147e639a7eeb4938e745a9 (patch)
tree10de86d6856bad1c1c1fc9d4b6475f24365de4ec /src
parente099ada69f250c59848212adbf2b36199170c320 (diff)
The got_events global variable is now updated when an event is processed by do_queued_events
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 2981b565e..57b03a889 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -654,6 +654,7 @@ static double do_queued_events( double time = 0.0 )
untilDate:[NSDate dateWithTimeIntervalSinceNow:time]
inMode:NSDefaultRunLoopMode dequeue:YES];
if (event != nil) {
+ got_events = 1;
[NSApp sendEvent:event]; // reimplemented in [FLApplication sendevent:]
}
fl_lock_function();