summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2023-06-01 12:53:13 +1200
committerBossCode45 <human.cyborg42@gmail.com>2023-06-01 12:53:13 +1200
commit01bc6a33eb235cd10851e2c31b99e6840603ca7d (patch)
tree2af16074f305328b66e3c2bc731b8245b718a7b6 /util.h
parent6b3dff404248bcf03e0bf0463a8c53d8918f7eec (diff)
downloadYATwm-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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/util.h b/util.h
index 666fb40..bc3cc6a 100644
--- a/util.h
+++ b/util.h
@@ -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;
+};