summaryrefslogtreecommitdiffstats
path: root/key-string.c
diff options
context:
space:
mode:
authornicm <nicm>2017-06-12 07:04:24 +0000
committernicm <nicm>2017-06-12 07:04:24 +0000
commit8037159f937def4bb71dbfb8d664a96de794014f (patch)
treeaf92955555dbdf03f4983f50eb4fe48381c3172a /key-string.c
parentadcd5aff6fb86036ef736c10b04005da77a465f6 (diff)
Add explicit keys for the bracketed paste sequences, both to avoid mix
ups with other keys and to make logs clearer.
Diffstat (limited to 'key-string.c')
-rw-r--r--key-string.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/key-string.c b/key-string.c
index dc09ed98..e1413a15 100644
--- a/key-string.c
+++ b/key-string.c
@@ -251,6 +251,10 @@ key_string_lookup_key(key_code key)
return ("FocusIn");
if (key == KEYC_FOCUS_OUT)
return ("FocusOut");
+ if (key == KEYC_PASTE_START)
+ return ("PasteStart");
+ if (key == KEYC_PASTE_END)
+ return ("PasteEnd");
if (key == KEYC_MOUSE)
return ("Mouse");
if (key == KEYC_DRAGGING)