#ifndef NALL_XORG_GUARD_HPP
#define NALL_XORG_GUARD_HPP

#define Atom XlibAtom
#define Bool XlibBool
#define Display XlibDisplay
#define Screen XlibScreen
#define Window XlibWindow

#else
#undef NALL_XORG_GUARD_HPP

#undef Atom
#undef Bool
#undef Display
#undef Screen
#undef Window

#ifndef NALL_XORG_GUARD_CONSTANTS
#define NALL_XORG_GUARD_CONSTANTS
enum XlibConstants : int {
  XlibButton1 = Button1,
  XlibButton2 = Button2,
  XlibButton3 = Button3,
  XlibButton4 = Button4,
  XlibButton5 = Button5,
  XlibCurrentTime = CurrentTime,
  XlibFalse = False,
  XlibNone = None,
  XlibTrue = True,
};
#endif

#undef Button1
#undef Button2
#undef Button3
#undef Button4
#undef Button5
#undef CurrentTime
#undef False
#undef None
#undef True

#endif