# include "Ximage.h"

/************** NextEvent *************/
void
NextEvent (graphic, event, keysym)
Graphic graphic[];
XEvent *event;
KeySym *keysym;
{
  int status;

  status = FALSE;

  while (!status) {
    XNextEvent (graphic[0].display, event);
    status = ParseEvent (graphic, event, keysym);
  }
}


