diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2023-06-01 12:53:13 +1200 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2023-06-01 12:53:13 +1200 |
| commit | 01bc6a33eb235cd10851e2c31b99e6840603ca7d (patch) | |
| tree | 2af16074f305328b66e3c2bc731b8245b718a7b6 /util.h | |
| parent | 6b3dff404248bcf03e0bf0463a8c53d8918f7eec (diff) | |
| download | YATwm-01bc6a33eb235cd10851e2c31b99e6840603ca7d.tar.gz YATwm-01bc6a33eb235cd10851e2c31b99e6840603ca7d.zip | |
IT WORKS!!!!!!
The new config commands system works, finally able to run this as a
test and it works!!!!!.
Still more to be done but at least it works.
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; +}; |
