From: YAMAMOTO Mitsuharu Date: Sun, 12 Mar 2006 08:19:42 +0000 (+0000) Subject: (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. X-Git-Tag: emacs-pretest-22.0.90~3650 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5093b9dc1d18438135eae2dbf4f1d90db5a94264;p=emacs.git (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. --- 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);