Index: trunk/Ohana/src/kii/event/EventLoop.c
===================================================================
--- trunk/Ohana/src/kii/event/EventLoop.c	(revision 3695)
+++ trunk/Ohana/src/kii/event/EventLoop.c	(revision 5637)
@@ -20,5 +20,5 @@
   Display        *display;
   
-  Refresh (graphic, layout, 1);
+  if (USE_XWINDOW) Refresh (graphic, layout, 1);
 
   status = TRUE;
@@ -28,4 +28,9 @@
       return (FALSE);
     
+    if (!USE_XWINDOW) {
+      usleep (50000);
+      continue;
+    }
+
     if (XEventsQueued (graphic[0].display, QueuedAfterFlush) < 1) {
       usleep (10000);
