diff options
author | Tim Keller <tjkeller.xyz> | 2025-01-11 15:07:46 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-01-11 15:07:46 -0600 |
commit | 3f8366fe353fe7d161821c282a135fb9d6184c35 (patch) | |
tree | 9b7de16cb8bc454847be1eff220122a5f9ec2bc7 /config.def.h | |
parent | 296c863791a47eabd4ec64c35686d7eaf000709c (diff) | |
download | st-3f8366fe353fe7d161821c282a135fb9d6184c35.tar.xz st-3f8366fe353fe7d161821c282a135fb9d6184c35.zip |
add themed cursor patch and button 3 paste
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h index 330f466..86286cd 100644 --- a/config.def.h +++ b/config.def.h @@ -161,11 +161,10 @@ static unsigned int cols = 80; static unsigned int rows = 24; /* - * Default colour and shape of the mouse cursor ++ * Default shape of the mouse cursor */ -static unsigned int mouseshape = XC_xterm; -static unsigned int mousefg = 7; -static unsigned int mousebg = 0; + +static char* mouseshape = "xterm"; /* * Color used to display font attributes when fontconfig selected a font which @@ -191,6 +190,7 @@ static MouseShortcut mshortcuts[] = { { XK_ANY_MOD, Button4, kscrollup, {.i = 3}, 0 }, { XK_ANY_MOD, Button5, kscrolldown, {.i = 3}, 0 }, { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, + { XK_ANY_MOD, Button3, selpaste, {.i = 0}, 1 }, { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} }, { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} }, |