summaryrefslogtreecommitdiffhomepage
path: root/patch/seamless_restart.h
diff options
context:
space:
mode:
Diffstat (limited to 'patch/seamless_restart.h')
-rw-r--r--patch/seamless_restart.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/patch/seamless_restart.h b/patch/seamless_restart.h
new file mode 100644
index 0000000..ef29fa7
--- /dev/null
+++ b/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