summaryrefslogtreecommitdiffhomepage
path: root/patches.h
diff options
context:
space:
mode:
Diffstat (limited to 'patches.h')
-rw-r--r--patches.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/patches.h b/patches.h
index 95002a2..eed308b 100644
--- a/patches.h
+++ b/patches.h
@@ -197,6 +197,12 @@
*/
#define MONITOR_RULES_PATCH 0
+/* This patch makes it so dwm will only exit via quit() if no windows are open.
+ * This is to prevent you accidentally losing all your work.
+ * https://dwm.suckless.org/patches/onlyquitonempty/
+ */
+#define ONLYQUITONEMPTY_PATCH 0
+
/* The pertag patch adds nmaster, mfacts and layouts per tag rather than per
* monitor (default).
* https://dwm.suckless.org/patches/pertag/