diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2024-10-01 14:54:37 +1300 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2024-10-01 14:54:37 +1300 |
| commit | 915532bf8fbda9ba2a36e04fcd6acc67c6c68fa5 (patch) | |
| tree | 0d7a7569ab5fc30c90d5df91a54d312c764cf328 /src/util.h | |
| parent | f998705c5a0e50021875a811537962083b73ed26 (diff) | |
| download | YATwm-915532bf8fbda9ba2a36e04fcd6acc67c6c68fa5.tar.gz YATwm-915532bf8fbda9ba2a36e04fcd6acc67c6c68fa5.zip | |
Restructure
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 19 |
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; +}; |
