summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-04-28 17:42:30 +0200
committerChristoph Lohmann <20h@r-36.net>2013-04-28 17:42:30 +0200
commita53017c8b47f511cf0462ac910cf9223a31ceb2f (patch)
tree711c8eca1a8079229e15c3c3bb45353b1b0dc658 /config.def.h
parenta77b01176a34de741485024e5e36002cff3c1124 (diff)
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 b44fe17..b0bc752 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[] = {