scrolling: add scrolling with mouse

This commit is contained in:
TiynGER
2021-05-24 16:25:13 +02:00
parent c3f33944b8
commit 893f132e40
2 changed files with 20 additions and 14 deletions

View File

@@ -170,6 +170,8 @@ static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
{ Button4, XK_NO_MOD, "\031" },
{ Button5, XK_NO_MOD, "\005" },
{ XK_NO_MOD, Button4, kscrollup, {.i = 1} },
{ XK_NO_MOD, Button5, kscrolldown,{.i = 1} },
};
/* Internal keyboard shortcuts. */