Add a possibility to modify the string sent by mouse buttons.
Thanks Alexander Rezinsky <alexrez@gmail.com> for the suggestion!
This commit is contained in:
parent
a77b01176a
commit
a53017c8b4
2 changed files with 30 additions and 6 deletions
10
config.def.h
10
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[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue