aboutsummarylogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorChristoph Lohmann2013-04-28 17:42:30 +0200
committerChristoph Lohmann2013-04-28 17:42:30 +0200
commit5a576b638411ecc469f3ffcf52b0a4c0b03e574a (patch)
tree50563ffea3339ca7645b9591e52e158259b75ce1 /config.def.h
parent445d9980058941a83351c0f1042d198e27ce2dd1 (diff)
downloadaur-5a576b638411ecc469f3ffcf52b0a4c0b03e574a.tar.gz
Add a possibility to modify the string sent by mouse buttons.
Thanks Alexander Rezinsky <alexrez@gmail.com> for the suggestion!
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index b44fe1739b94..b0bc7522a35d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -74,7 +74,15 @@ static unsigned int defaultcs = 256;
static unsigned int defaultitalic = 11;
static unsigned int defaultunderline = 7;
-/* Internal shortcuts. */
+/* Internal mouse shortcuts. */
+/* Beware that overloading Button1 will disable the selection. */
+static Mousekey mshortcuts[] = {
+ /* keysym mask string */
+ { Button4, XK_ANY_MOD, "\031"},
+ { Button5, XK_ANY_MOD, "\005"},
+};
+
+/* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask
static Shortcut shortcuts[] = {