diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-11-15 20:25:16 +0100 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-11-15 20:25:16 +0100 |
| commit | 1cea02be8d331597b3cfccf1d23eb22e57433c85 (patch) | |
| tree | a8aef7726c39692a1da653ecb516049a055b198b | |
| parent | Optimizing the key lookup to the X11 function key. It is still possible to (diff) | |
| download | st-1cea02be8d331597b3cfccf1d23eb22e57433c85.tar.gz st-1cea02be8d331597b3cfccf1d23eb22e57433c85.zip | |
Removing my debug fprintf().
Diffstat (limited to '')
| -rw-r--r-- | st.c | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -2715,16 +2715,13 @@ kmap(KeySym k, uint state) { | |||
| 2715 | 2715 | ||
| 2716 | /* Check for mapped keys out of X11 function keys. */ | 2716 | /* Check for mapped keys out of X11 function keys. */ |
| 2717 | for(i = 0; i < LEN(mappedkeys); i++) { | 2717 | for(i = 0; i < LEN(mappedkeys); i++) { |
| 2718 | if(mappedkeys[i] == k) { | 2718 | if(mappedkeys[i] == k) |
| 2719 | fprintf(stderr, "mapped function key.\n"); | ||
| 2720 | break; | 2719 | break; |
| 2721 | } | ||
| 2722 | } | 2720 | } |
| 2723 | if(i == LEN(mappedkeys)) { | 2721 | if(i == LEN(mappedkeys)) { |
| 2724 | if((k & 0xFFFF) < 0xFF00) | 2722 | if((k & 0xFFFF) < 0xFF00) |
| 2725 | return NULL; | 2723 | return NULL; |
| 2726 | } | 2724 | } |
| 2727 | fprintf(stderr, "Function key.\n"); | ||
| 2728 | 2725 | ||
| 2729 | for(kp = key; kp < key + LEN(key); kp++) { | 2726 | for(kp = key; kp < key + LEN(key); kp++) { |
| 2730 | mask = kp->mask; | 2727 | mask = kp->mask; |
