|
|
@ -2715,16 +2715,13 @@ kmap(KeySym k, uint state) { |
|
|
|
|
|
|
|
/* Check for mapped keys out of X11 function keys. */ |
|
|
|
for(i = 0; i < LEN(mappedkeys); i++) { |
|
|
|
if(mappedkeys[i] == k) { |
|
|
|
fprintf(stderr, "mapped function key.\n"); |
|
|
|
if(mappedkeys[i] == k) |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
if(i == LEN(mappedkeys)) { |
|
|
|
if((k & 0xFFFF) < 0xFF00) |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
fprintf(stderr, "Function key.\n"); |
|
|
|
|
|
|
|
for(kp = key; kp < key + LEN(key); kp++) { |
|
|
|
mask = kp->mask; |
|
|
|