summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-09-12 18:29:56 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-09-12 18:29:56 +0400
commit2faaa50b3725bded7b9a858b336a58293f769847 (patch)
treecfedfb63419c29fab21da3dec89c25c80191bcfc /config.h
parentcbb4606edfaf526c89e5574662272e7b0bda05a9 (diff)
Added patches oneclipboard, scrollback-mouse, scrollback-mouse-altscreen
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h b/config.h
index 1b8c196..e695599 100644
--- a/config.h
+++ b/config.h
@@ -168,7 +168,8 @@ static uint forcemousemod = ShiftMask;
*/
static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
- { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
+ { XK_ANY_MOD, Button4, kscrollup, {.i = 1}, 0, /* !alt */ -1 },
+ { XK_ANY_MOD, Button5, kscrolldown, {.i = 1}, 0, /* !alt */ -1 }, { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
{ ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} },