From 6cd20823086b831b78c393857bb46f9e8bbe61d8 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Wed, 31 Aug 2022 19:03:47 +1200 Subject: ewmh.cpp --- ewmh.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ewmh.h (limited to 'ewmh.h') diff --git a/ewmh.h b/ewmh.h new file mode 100644 index 0000000..d7b0741 --- /dev/null +++ b/ewmh.h @@ -0,0 +1,19 @@ +#pragma once + +#include +#include + +#include +#include + +#include "structs.h" + +void initEWMH(Display** dpy, Window* root, int numWS, std::string workspaceNames[]); + +void updateClientList(std::map clients); + +void setWindowDesktop(Window w, int desktop); + +void setCurrentDesktop(int desktop); + +int getProp(Window w, char* propName, Atom* type, unsigned char** data); -- cgit v1.2.3