]> git.eshelyaron.com Git - emacs.git/commitdiff
(sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 12 Mar 2006 08:19:42 +0000 (08:19 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 12 Mar 2006 08:19:42 +0000 (08:19 +0000)
src/mac.c

index a71194f9aeece9f3c8e560d792e95367cbd19742..40bbacf15cead63e3073d6ccb70d44a460c209fe 100644 (file)
--- 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);