aboutsummaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorasparagii <michele.lambertucci1@gmail.com>2022-01-27 15:49:27 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-02-03 16:09:07 +0300
commita6d484d8723d493bc09a5122128aaea729adaa80 (patch)
tree782ff5805fabcfa8b1795eb760e23c13f19c6b04 /config.def.h
parente4912814c02fdf4fae9fe9b655ee147f714ceb0d (diff)
downloadst-fork-a6d484d8723d493bc09a5122128aaea729adaa80.tar.gz
st-scrollback-mouse-altscreen
Source: https://st.suckless.org/patches/scrollback/
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index c217315..c223706 100644
--- a/config.def.h
+++ b/config.def.h
@@ -176,8 +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, 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"} },