From 2a49176a6cca0347967232a572b682ac76f1cd12 Mon Sep 17 00:00:00 2001 From: serxoz Date: Fri, 2 Sep 2022 12:38:11 +0200 Subject: [PATCH] parche scrollback-mouse --- config.def.h | 2 ++ config.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config.def.h b/config.def.h index e3b469b..c217315 100644 --- a/config.def.h +++ b/config.def.h @@ -176,6 +176,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"} }, diff --git a/config.h b/config.h index c53fdb1..219b4c3 100644 --- a/config.h +++ b/config.h @@ -176,6 +176,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"} },