mouse shortcuts: don't hardcode selpaste (ff828c)

This commit is contained in:
bakkeby 2020-03-24 14:14:10 +01:00
parent ed7837a816
commit 0cdfd86e5e
2 changed files with 31 additions and 16 deletions

View file

@ -274,7 +274,12 @@ static uint forcemousemod = ShiftMask;
* Beware that overloading Button1 will disable the selection.
*/
static MouseShortcut mshortcuts[] = {
/* mask button function argument */
/* mask button function argument release */
#if CLIPBOARD_PATCH
{ XK_ANY_MOD, Button2, clippaste, {.i = 0}, 1 },
#else
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
#endif // CLIPBOARD_PATCH
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
{ XK_ANY_MOD, Button5, ttysend, {.s = "\005"} },
};