diff options
Diffstat (limited to 'ewmh.h')
| -rw-r--r-- | ewmh.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#pragma once + +#include <X11/X.h> +#include <X11/Xatom.h> + +#include <map> +#include <string> + +#include "structs.h" + +void initEWMH(Display** dpy, Window* root, int numWS, std::string workspaceNames[]); + +void updateClientList(std::map<int, Client> clients); + +void setWindowDesktop(Window w, int desktop); + +void setCurrentDesktop(int desktop); + +int getProp(Window w, char* propName, Atom* type, unsigned char** data); |
