summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2024-12-01 19:24:09 +1300
committerBossCode45 <human.cyborg42@gmail.com>2024-12-01 19:24:09 +1300
commit8dca89a1be23f0de2dd1676b95feb6b46cbdd5f2 (patch)
tree7ebc1a5161bbe70d6ab6a0e5353a1a622240c915 /src/util.h
parente162dff48c251e262f475de9261f0ecfa0f39dc4 (diff)
parent434ec6542d0d79190c6aa7003aac91b03cad4398 (diff)
downloadYATwm-8dca89a1be23f0de2dd1676b95feb6b46cbdd5f2.tar.gz
YATwm-8dca89a1be23f0de2dd1676b95feb6b46cbdd5f2.zip
Merge branch 'IPC'
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
new file mode 100644
index 0000000..66ecf76
--- /dev/null
+++ b/src/util.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <vector>
+#include <string>
+#include <X11/Xlib.h>
+
+
+std::string getEventName(int e);
+
+
+std::vector<std::string> split (const std::string &s, char delim);
+
+std::string lowercase(std::string s);
+
+
+struct Globals {
+ Display*& dpy;
+ Window& root;
+};