From 09f652d8aff93ba8b7e96d07a58c1aa520f44a2f Mon Sep 17 00:00:00 2001 From: Mateja Date: Fri, 9 Apr 2021 22:32:29 +0200 Subject: Applied second `scrollback` patch. Allows scrolling using Shift+MouseWheel. --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h index db84198..bdeeca4 100644 --- a/config.def.h +++ b/config.def.h @@ -189,6 +189,8 @@ static uint forcemousemod = ShiftMask; */ static MouseShortcut mshortcuts[] = { /* mask button function argument release */ + { ShiftMask, Button4, kscrollup, {.i = 1} }, + { ShiftMask, Button5, kscrolldown, {.i = 1} }, { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} }, { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, -- cgit v1.2.3