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