# include "Ximage.h"

/************** CloseDisplay *************/
void CloseDisplay () {
  XFreeGC (graphic.display, graphic.gc);
  XDestroySubwindows (graphic.display, graphic.window);
  XDestroyWindow (graphic.display, graphic.window);
  XFlush (graphic.display);
  XCloseDisplay (graphic.display);
}

