summaryrefslogtreecommitdiff
path: root/util.h
blob: d29d596edb6af91c4fa64a7bf89e20daec581419 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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);


struct Globals {
	Display*& dpy;
	Window& root;
};