Added mouse scroll to tag switching

This commit is contained in:
Alexis Jhon Gaspar 2023-10-03 23:17:42 +08:00
parent 2ff88b8588
commit afc3a2986b

View file

@ -1456,6 +1456,10 @@ static const Button buttons[] = {
#endif // DRAGMFACT_PATCH #endif // DRAGMFACT_PATCH
{ ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} },
#if SHIFTVIEW_PATCH
{ ClkTagBar, 0, Button4, shiftview, { .i = -1 } },
{ ClkTagBar, 0, Button5, shiftview, { .i = +1 } },
#endif // SHIFTVIEW_PATCH
{ ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} },
#if TAB_PATCH #if TAB_PATCH