[hackers] [st] Checking for the lower X11 special keys too. Thanks Benjamin R. Haskell! || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Thu, 13 Dec 2012 20:59:43 +0100

commit fc2b3669682eaf571fc96762bd3c8e48bccac989
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Thu Dec 13 20:57:15 2012 +0100

    Checking for the lower X11 special keys too. Thanks Benjamin R. Haskell!

diff --git a/st.c b/st.c
index da5f78d..433f7b4 100644
--- a/st.c
+++ b/st.c
_AT_@ -2728,7 +2728,7 @@ kmap(KeySym k, uint state) {
                         break;
         }
         if(i == LEN(mappedkeys)) {
- if((k & 0xFFFF) < 0xFF00)
+ if((k & 0xFFFF) < 0xFD00)
                         return NULL;
         }
 
Received on Thu Dec 13 2012 - 20:59:43 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 13 2012 - 21:00:07 CET