From 7771c55cb52d93821b99fbac8f87f80cfa1d675a Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Thu, 27 Aug 2009 19:21:38 -0500 Subject: [PATCH] ui.backend.cocoa.views: yield in drawRect: impl so that windows will redraw while being resized on snow leopard --- basis/ui/backend/cocoa/views/views.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/ui/backend/cocoa/views/views.factor b/basis/ui/backend/cocoa/views/views.factor index ffff15a911..6ae56af030 100644 --- a/basis/ui/backend/cocoa/views/views.factor +++ b/basis/ui/backend/cocoa/views/views.factor @@ -149,7 +149,7 @@ CLASS: { ! Rendering { "drawRect:" "void" { "id" "SEL" "NSRect" } - [ 2drop window relayout-1 ] + [ 2drop window relayout-1 yield ] } ! Events