Author: manolo
Date: 2011-02-28 09:48:55 -0800 (Mon, 28 Feb 2011)
New Revision: 8486
Log:
The got_events global variable is now updated when an event is processed by 
do_queued_events

Modified:
   branches/branch-1.3/src/Fl_cocoa.mm

Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2011-02-27 16:51:58 UTC (rev 8485)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2011-02-28 17:48:55 UTC (rev 8486)
@@ -654,6 +654,7 @@
                                       untilDate:[NSDate 
dateWithTimeIntervalSinceNow:time] 
                                          inMode:NSDefaultRunLoopMode 
dequeue:YES];  
   if (event != nil) {
+    got_events = 1;
     [NSApp sendEvent:event]; // reimplemented in [FLApplication sendevent:]
   }
   fl_lock_function();

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to