diff options
Diffstat (limited to '')
| -rw-r--r-- | src/wm/client.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/wm/client.h b/src/wm/client.h new file mode 100644 index 0000000..8a2a05e --- /dev/null +++ b/src/wm/client.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | |||
| 2 | #pragma once | ||
| 3 | |||
| 4 | #include "../core/types.h" | ||
| 5 | |||
| 6 | void manage(Window w, XWindowAttributes *wa); | ||
| 7 | void unmanage(Client *c, int destroyed); | ||
| 8 | |||
| 9 | void attach(Client *c); | ||
| 10 | void detach(Client *c); | ||
| 11 | void attachstack(Client *c); | ||
| 12 | void detachstack(Client *c); | ||
| 13 | |||
| 14 | void focus(Client *c); | ||
| 15 | void unfocus(Client *c, int setfocus); | ||
| 16 | |||
| 17 | void resize(Client *c, int x, int y, int w, int h, int interact); | ||
| 18 | void resizeclient(Client *c, int x, int y, int w, int h); | ||
| 19 | |||
| 20 | Client *nexttiled(Client *c); | ||
| 21 | Client *wintoclient(Window w); | ||
| 22 | |||
| 23 | /* swallow (optional) */ | ||
| 24 | Client *swallowingclient(Window w); | ||
| 25 | Client *termforwin(const Client *c); | ||
| 26 | pid_t winpid(Window w); | ||
