Adding universcroll patch ref. #21
This commit is contained in:
parent
a1303a8811
commit
a5435903d4
11 changed files with 36 additions and 12 deletions
|
|
@ -286,7 +286,11 @@ static uint forcemousemod = ShiftMask;
|
|||
* Beware that overloading Button1 will disable the selection.
|
||||
*/
|
||||
static MouseShortcut mshortcuts[] = {
|
||||
#if UNIVERSCROLL_PATCH
|
||||
/* mask button function argument release alt */
|
||||
#else
|
||||
/* mask button function argument release */
|
||||
#endif // UNIVERSCROLL_PATCH
|
||||
#if CLIPBOARD_PATCH
|
||||
{ XK_ANY_MOD, Button2, clippaste, {.i = 0}, 1 },
|
||||
#else
|
||||
|
|
@ -295,6 +299,9 @@ static MouseShortcut mshortcuts[] = {
|
|||
#if SCROLLBACK_MOUSE_PATCH
|
||||
{ ShiftMask, Button4, kscrollup, {.i = 1} },
|
||||
{ ShiftMask, Button5, kscrolldown, {.i = 1} },
|
||||
#elif UNIVERSCROLL_PATCH
|
||||
{ XK_ANY_MOD, Button4, ttysend, {.s = "\033[5;2~"}, 0, -1 },
|
||||
{ XK_ANY_MOD, Button5, ttysend, {.s = "\033[6;2~"}, 0, -1 },
|
||||
#else
|
||||
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
|
||||
{ ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue