From 915532bf8fbda9ba2a36e04fcd6acc67c6c68fa5 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Tue, 1 Oct 2024 14:54:37 +1300 Subject: Restructure --- src/ewmh.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/ewmh.h (limited to 'src/ewmh.h') diff --git a/src/ewmh.h b/src/ewmh.h new file mode 100644 index 0000000..9473d5d --- /dev/null +++ b/src/ewmh.h @@ -0,0 +1,25 @@ +#pragma once + +#include +#include + +#include +#include +#include + +#include "structs.h" +#include "config.h" + +void initEWMH(Display** dpy, Window* root, int numWS, std::vector workspaces); + +void updateClientList(std::map clients); + +void setWindowDesktop(Window w, int desktop); + +void setCurrentDesktop(int desktop); + +void setFullscreen(Window w, bool fullscreen); + +void setIPCPath(unsigned char* path, int len); + +int getProp(Window w, char* propName, Atom* type, unsigned char** data); -- cgit v1.2.3