aboutsummaryrefslogtreecommitdiff
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)
downloadst-a53017c8b47f511cf0462ac910cf9223a31ceb2f.tar.gz
st-a53017c8b47f511cf0462ac910cf9223a31ceb2f.zip
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;
74static unsigned int defaultitalic = 11; 74static unsigned int defaultitalic = 11;
75static unsigned int defaultunderline = 7; 75static unsigned int defaultunderline = 7;
76 76
77/* Internal shortcuts. */ 77/* Internal mouse shortcuts. */
78/* Beware that overloading Button1 will disable the selection. */
79static Mousekey mshortcuts[] = {
80 /* keysym mask string */
81 { Button4, XK_ANY_MOD, "\031"},
82 { Button5, XK_ANY_MOD, "\005"},
83};
84
85/* Internal keyboard shortcuts. */
78#define MODKEY Mod1Mask 86#define MODKEY Mod1Mask
79 87
80static Shortcut shortcuts[] = { 88static Shortcut shortcuts[] = {