From 5093b9dc1d18438135eae2dbf4f1d90db5a94264 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sun, 12 Mar 2006 08:19:42 +0000 Subject: [PATCH] (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. --- src/mac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mac.c b/src/mac.c index a71194f9aee..40bbacf15ce 100644 --- a/src/mac.c +++ b/src/mac.c @@ -4829,6 +4829,9 @@ sys_select (n, rfds, wfds, efds, timeout) return 0; } +#if USE_CG_DRAWING + mac_prepare_for_quickdraw (NULL); +#endif /* Avoid initial overhead of RunLoop setup for the case that some input is already available. */ EMACS_SET_SECS_USECS (select_timeout, 0, 0); -- 2.39.2