|
@ -3375,7 +3375,6 @@ numlock(const Arg *dummy) { |
|
|
|
|
|
|
|
|
char* |
|
|
char* |
|
|
kmap(KeySym k, uint state) { |
|
|
kmap(KeySym k, uint state) { |
|
|
uint mask; |
|
|
|
|
|
Key *kp; |
|
|
Key *kp; |
|
|
int i; |
|
|
int i; |
|
|
|
|
|
|
|
@ -3390,12 +3389,10 @@ kmap(KeySym k, uint state) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
for(kp = key; kp < key + LEN(key); kp++) { |
|
|
for(kp = key; kp < key + LEN(key); kp++) { |
|
|
mask = kp->mask; |
|
|
|
|
|
|
|
|
|
|
|
if(kp->k != k) |
|
|
if(kp->k != k) |
|
|
continue; |
|
|
continue; |
|
|
|
|
|
|
|
|
if(!match(mask, state)) |
|
|
|
|
|
|
|
|
if(!match(kp->mask, state)) |
|
|
continue; |
|
|
continue; |
|
|
|
|
|
|
|
|
if(kp->appkey > 0) { |
|
|
if(kp->appkey > 0) { |
|
|