-}
-
-
-/* handle events from x windows and block until the next frame */
-
-void input_eventloop(void)
-{
- static struct timeval tv1 = { 0, 0 };
- static struct timeval tv2 = { 0, 0 };
- unsigned long count;
-
- XSync(display, False); /* block until all graphics are drawn */
-
- if (gettimeofday(&tv2, 0) == -1)
- tv2.tv_usec = 0;