summaryrefslogtreecommitdiffhomepage
path: root/patches.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-09-18 10:53:07 +0200
committerbakkeby <[email protected]>2020-09-18 10:53:07 +0200
commit00320fb842703d6ee219aa2ed1f71f4d0247ed93 (patch)
treee233b8c900a71713ef55705a0848ba0bcefaa444 /patches.def.h
parent8aa21b03114a62f4113d0b9410649ca13692886e (diff)
downloaddwm-flexipatch-00320fb842703d6ee219aa2ed1f71f4d0247ed93.tar.gz
dwm-flexipatch-00320fb842703d6ee219aa2ed1f71f4d0247ed93.zip
Adding nomodbuttons patch
Diffstat (limited to 'patches.def.h')
-rw-r--r--patches.def.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches.def.h b/patches.def.h
index e387dc0..f1494e3 100644
--- a/patches.def.h
+++ b/patches.def.h
@@ -646,6 +646,20 @@
*/
#define NODMENU_PATCH 0
+/* This patch allows for toggleable client button bindings that have no modifiers.
+ * This can, for example, allow you to move or resize using the mouse alone without holding
+ * down a modifier key. This can be practical if you have extra buttons on your mouse.
+ * While you can use button bindings with no modifiers without this patch in a bare dwm,
+ * those buttons are then unavailable for use within the application itself so being able to
+ * toggle these on and off can be necessary in certain situations (e.g. being able to use
+ * back and forward buttons in a browser).
+
+ * Example bindings:
+ * { ClkClientWin, 0, Button8, movemouse, {0} },
+ * { ClkClientWin, 0, Button9, resizemouse, {0} },
+ */
+#define NO_MOD_BUTTONS_PATCH 0
+
/* When terminals have transparency then their borders also become transparent.
* This patch ensures that borders have no transparency. Note that this patch is
* only relevant if you are not using the alpha patch.