aboutsummaryrefslogtreecommitdiff
path: root/key-string.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-01-12 00:01:13 +0000
committerThomas Adam <thomas@xteddy.org>2017-01-12 00:01:13 +0000
commit33ebb9ec39e175197b9a7ba7071aeea472f76e8b (patch)
treef7c2f3683db46a9492939b81a742a959330f11de /key-string.c
parentd87ab0cadf6ee30f253a815ebc80c14d2818391d (diff)
parent74c40d04eadc40c034634d70925355a0751c1433 (diff)
downloadrtmux-33ebb9ec39e175197b9a7ba7071aeea472f76e8b.tar.gz
rtmux-33ebb9ec39e175197b9a7ba7071aeea472f76e8b.tar.bz2
rtmux-33ebb9ec39e175197b9a7ba7071aeea472f76e8b.zip
Merge branch 'obsd-master'
Diffstat (limited to 'key-string.c')
-rw-r--r--key-string.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/key-string.c b/key-string.c
index b2fe845f..85841dd2 100644
--- a/key-string.c
+++ b/key-string.c
@@ -247,8 +247,14 @@ key_string_lookup_key(key_code key)
/* Handle special keys. */
if (key == KEYC_UNKNOWN)
return ("Unknown");
+ if (key == KEYC_FOCUS_IN)
+ return ("FocusIn");
+ if (key == KEYC_FOCUS_OUT)
+ return ("FocusOut");
if (key == KEYC_MOUSE)
return ("Mouse");
+ if (key == KEYC_DRAGGING)
+ return ("Dragging");
/*
* Special case: display C-@ as C-Space. Could do this below in