]> gitweb.factorcode.org Git - factor.git/commitdiff
yield during mouse-moved events in cocoa so gadgets have a chance to redraw
authorJoe Groff <arcata@gmail.com>
Mon, 4 May 2009 01:33:03 +0000 (20:33 -0500)
committerJoe Groff <arcata@gmail.com>
Mon, 4 May 2009 01:33:03 +0000 (20:33 -0500)
basis/ui/backend/cocoa/views/views.factor

index 4a16e3bd376b809679e1137ddbc35bcf17cf1838..aab851c7834684d55b95ddfb92112e4db7734a62 100644 (file)
@@ -9,7 +9,7 @@ threads combinators math.rectangles ;
 IN: ui.backend.cocoa.views
 
 : send-mouse-moved ( view event -- )
-    [ mouse-location ] [ drop window ] 2bi move-hand fire-motion ;
+    [ mouse-location ] [ drop window ] 2bi move-hand fire-motion yield ;
 
 : button ( event -- n )
     #! Cocoa -> Factor UI button mapping