diff options
| author | Christoph Lohmann <20h@r-36.net> | 2013-04-28 17:42:30 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2013-04-28 17:42:30 +0200 |
| commit | a53017c8b47f511cf0462ac910cf9223a31ceb2f (patch) | |
| tree | 711c8eca1a8079229e15c3c3bb45353b1b0dc658 /config.def.h | |
| parent | a77b01176a34de741485024e5e36002cff3c1124 (diff) | |
| download | st-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.h | 10 |
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; | |||
| 74 | static unsigned int defaultitalic = 11; | 74 | static unsigned int defaultitalic = 11; |
| 75 | static unsigned int defaultunderline = 7; | 75 | static unsigned int defaultunderline = 7; |
| 76 | 76 | ||
| 77 | /* Internal shortcuts. */ | 77 | /* Internal mouse shortcuts. */ |
| 78 | /* Beware that overloading Button1 will disable the selection. */ | ||
| 79 | static 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 | ||
| 80 | static Shortcut shortcuts[] = { | 88 | static Shortcut shortcuts[] = { |
