X-Git-Url: https://git.armaanb.net/?p=st.git;a=blobdiff_plain;f=config.def.h;h=36ff6ce98f4d847295758c6b9a13175693dbcf37;hp=6ebea98593193aa0bd592782e91d58fe3faf6bdd;hb=ba7f4d69af62d20e13fea78a408095e017410651;hpb=2b8333f553c14c15398e810353e192eb05938580 diff --git a/config.def.h b/config.def.h index 6ebea98..36ff6ce 100644 --- a/config.def.h +++ b/config.def.h @@ -155,9 +155,9 @@ static unsigned int defaultattr = 11; * Beware that overloading Button1 will disable the selection. */ static MouseShortcut mshortcuts[] = { - /* button mask string */ - { Button4, XK_ANY_MOD, "\031" }, - { Button5, XK_ANY_MOD, "\005" }, + /* mask button function argument */ + { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, + { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, }; /* Internal keyboard shortcuts. */