diff options
Diffstat (limited to 'util.h')
| -rw-r--r-- | util.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2,8 +2,15 @@ #include <vector> #include <string> +#include <X11/Xlib.h> #define evNames {0, 0, "KeyPress", "KeyRelease", "ButtonPress", "ButtonRelease", "MotionNotify", "EnterNotify", "LeaveNotify", "FocusIn", "FocusOut", "KeymapNotify", "Expose", "GraphicsExpose", "NoExpose", "VisibilityNotify", "CreateNotify", "DestroyNotify", "UnmapNotify", "MapNotify", "MapRequest", "ReparentNotify", "ConfigureNotify", "ConfigureRequest", "GravityNotify", "ResizeRequest", "CirculateNotify", "CirculateRequest", "PropertyNotify", "SelectionClear", "SelectionRequest", "SelectionNotify", "ColormapNotify", "ClientMessage", "MappingNotify", "GenericEvent", "LASTEvent"}; std::vector<std::string> split (const std::string &s, char delim); + + +struct Globals { + Display*& dpy; + Window& root; +}; |
