diff options
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -43,6 +43,10 @@ static unsigned int tripleclicktimeout = 600; /* alt screens */ int allowaltscreen = 1; +/* allow certain non-interactive (insecure) window operations such as: + setting the clipboard text */ +int allowwindowops = 0; + /* * draw latency range in ms - from new content/keypress/etc until drawing. * within this range, st draws when content stops arriving (idle). mostly it's @@ -162,10 +166,12 @@ static uint forcemousemod = ShiftMask; */ static MouseShortcut mshortcuts[] = { /* mask button function argument release */ - { XK_ANY_MOD, Button4, kscrollup, {.i = 2} }, - { XK_ANY_MOD, Button5, kscrolldown, {.i = 2} }, + { XK_ANY_MOD, Button4, kscrollup, {.i = 3} }, + { XK_ANY_MOD, Button5, kscrolldown, {.i = 3} }, { XK_ANY_MOD, Button2, 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~"} }, { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, }; |
