diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2022-08-31 19:03:47 +1200 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2022-08-31 19:03:47 +1200 |
| commit | 6cd20823086b831b78c393857bb46f9e8bbe61d8 (patch) | |
| tree | 2743e9184cff4480089ff9a302c165178db6d82c /ewmh.h | |
| parent | cda9283495096867ffa5805b270a8113f592ae7e (diff) | |
| download | YATwm-6cd20823086b831b78c393857bb46f9e8bbe61d8.tar.gz YATwm-6cd20823086b831b78c393857bb46f9e8bbe61d8.zip | |
ewmh.cpp
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); |
