X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=config.def.h;h=b0bc7522a35d5316eff8ac9af4da070bedfa5ef7;hp=b44fe1739b94f1bf486cfc65c3096b91d21bc0f6;hb=a53017c8b47f511cf0462ac910cf9223a31ceb2f;hpb=a77b01176a34de741485024e5e36002cff3c1124 diff --git a/config.def.h b/config.def.h index b44fe17..b0bc752 100644 --- a/config.def.h +++ b/config.def.h @@ -74,7 +74,15 @@ static unsigned int defaultcs = 256; static unsigned int defaultitalic = 11; static unsigned int defaultunderline = 7; -/* Internal shortcuts. */ +/* Internal mouse shortcuts. */ +/* Beware that overloading Button1 will disable the selection. */ +static Mousekey mshortcuts[] = { + /* keysym mask string */ + { Button4, XK_ANY_MOD, "\031"}, + { Button5, XK_ANY_MOD, "\005"}, +}; + +/* Internal keyboard shortcuts. */ #define MODKEY Mod1Mask static Shortcut shortcuts[] = {