summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-08-04 22:09:40 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-08-04 22:11:23 +0200
commit52fe157384f9a493b7f96f9e1374a56cc7369280 (patch)
tree237bd75b2b916dd7df3540b75b6e01f4399397e6 /config.def.h
parent4c01cfd24e5f32beb00abaed8d110856559610b0 (diff)
parentfa253f077f19b3220c7655b81bd91e52f4367803 (diff)
downloadst-52fe157384f9a493b7f96f9e1374a56cc7369280.tar.gz
st-52fe157384f9a493b7f96f9e1374a56cc7369280.tar.bz2
st-52fe157384f9a493b7f96f9e1374a56cc7369280.zip
Merge remote-tracking branch 'suckless/master'
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 29dda06..aecbe46 100644
--- a/config.def.h
+++ b/config.def.h
@@ -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
@@ -165,7 +169,9 @@ static MouseShortcut mshortcuts[] = {
{ 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"} },
};