summaryrefslogtreecommitdiffhomepage
path: root/patches.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'patches.def.h')
-rw-r--r--patches.def.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches.def.h b/patches.def.h
index 037c5ee..3d59e2e 100644
--- a/patches.def.h
+++ b/patches.def.h
@@ -970,6 +970,19 @@
*/
#define SIZEHINTS_RULED_PATCH 0
+/* This patch makes dwm obey even "soft" sizehints for new clients. The isfreesize
+ * version is similar to the sizehints ruled patch except it allows you to specify
+ * via client rules which clients this should apply to. Soft sizehints applies by
+ * default to clients that are not ruled, and will be disabled by default for clients
+ * that are.
+ *
+ * Example client rule enabling soft sizehints:
+ * - RULE(.wintype = WTYPE "DIALOG", .isfloating = 1, .isfreesize = 1)
+ *
+ * https://dwm.suckless.org/patches/sizehints/
+ */
+#define SIZEHINTS_ISFREESIZE_PATCH 0
+
/* In a multi-head setup monitor 0 is by default the primary screen, with the left and right
* screen being monitor 1 and 2 respectively. This patch sorts screens left to right (or
* top to bottom in a vertical layout) which aims to address some inconsistencies when it