Checking for the lower X11 special keys too. Thanks Benjamin R. Haskell!
authorChristoph Lohmann <20h@r-36.net>
Thu, 13 Dec 2012 19:57:15 +0000 (20:57 +0100)
committerChristoph Lohmann <20h@r-36.net>
Thu, 13 Dec 2012 19:57:15 +0000 (20:57 +0100)
st.c

diff --git a/st.c b/st.c
index da5f78d..433f7b4 100644 (file)
--- a/st.c
+++ b/st.c
@@ -2728,7 +2728,7 @@ kmap(KeySym k, uint state) {
                        break;
        }
        if(i == LEN(mappedkeys)) {
-               if((k & 0xFFFF) < 0xFF00)
+               if((k & 0xFFFF) < 0xFD00)
                        return NULL;
        }