text: /* -*- mode: c; -*- */
  
  #ifndef WM_DISPLAY_H
  #define WM_DISPLAY_H
  
  #include <defs.h>
  #include <geometry.h>
  
  #include <X11/Xlib.h>
  
  void make_display(const char *s);
  
  void free_display(void);
  void release_display(void);
  
  Display *display(void);
  
  #define DPY (display())
  #define GC_ (gc())
  
  #define SCRN (DefaultScreen(DPY))
  #define ROOT (RootWindow(DPY, SCRN))
  
  #define VISUAL (DefaultVisual(DPY, SCRN))
  #define COLORMAP (DefaultColormap(DPY, SCRN))
  
  int display_width(void);
  int display_height(void);
  
  GC gc(void);
  
  #endif /* WM_DISPLAY_H */
  