diff options
author | Marvin Borner | 2022-03-28 12:32:51 +0200 |
---|---|---|
committer | Marvin Borner | 2022-03-28 12:32:51 +0200 |
commit | 272cc6e941d798d7270fcf74a98f592ef06e14ac (patch) | |
tree | ca50baf1a496ab52072bd4fc0e12c4914824b568 /.repos/st/patches/st-scrollback-mouse-20191024-a2c479c.diff | |
parent | ba95f4990581cd3977a8647d829896f23e3f1e05 (diff) |
sync
Diffstat (limited to '.repos/st/patches/st-scrollback-mouse-20191024-a2c479c.diff')
-rw-r--r-- | .repos/st/patches/st-scrollback-mouse-20191024-a2c479c.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.repos/st/patches/st-scrollback-mouse-20191024-a2c479c.diff b/.repos/st/patches/st-scrollback-mouse-20191024-a2c479c.diff new file mode 100644 index 0000000..49eba8e --- /dev/null +++ b/.repos/st/patches/st-scrollback-mouse-20191024-a2c479c.diff @@ -0,0 +1,13 @@ +diff --git a/config.def.h b/config.def.h +index ec1b576..4b3bf15 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -163,6 +163,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 }, + { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, + { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, |