diff options
| author | coasteen <coasteen@proton.me> | 2026-07-12 08:16:17 +0330 |
|---|---|---|
| committer | coasteen <coasteen@proton.me> | 2026-07-12 08:16:17 +0330 |
| commit | 72be1234e1ec030cb07095267e49481057eeb329 (patch) | |
| tree | 97765fb29418fd6278fcb4cbb9760893afaf7a58 /dwm/patch/seamless_restart.h | |
Diffstat (limited to 'dwm/patch/seamless_restart.h')
| -rwxr-xr-x | dwm/patch/seamless_restart.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dwm/patch/seamless_restart.h b/dwm/patch/seamless_restart.h new file mode 100755 index 0000000..ef29fa7 --- /dev/null +++ b/dwm/patch/seamless_restart.h @@ -0,0 +1,19 @@ +#include <stdint.h> + +static void persistmonitorstate(Monitor *m); +static int restoremonitorstate(Monitor *m); +static void persistclientstate(Client *c); +static int restoreclientstate(Client *c); +static void setmonitorfields(Monitor *m); +static int getmonitorfields(Monitor *m); +static void setmonitortags(Monitor *m); +static int getmonitortags(Monitor *m); +static void setclientfields(Client *c); +static int getclientfields(Client *c); +static void setclienttags(Client *c); +static int getclienttags(Client *c); +static int getlayoutindex(const Layout *layout); +#if SAVEFLOATS_PATCH +static void savewindowfloatposition(Client *c, Monitor *m); +static int restorewindowfloatposition(Client *c, Monitor *m); +#endif // SAVEFLOATS_PATCH |
