Filter out modifiers key modifiers beyond Mod5 in wimenu. Closes issue #156.

This commit is contained in:
Kris Maglione 2009-11-08 16:31:43 -05:00
parent 89037e2c3b
commit 4ef9c591eb
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ find_key(char *key, long mask) {
if(!strcmp(key, "ISO_Left_Tab"))
key = "Tab";
mask &= ~(numlock | LockMask);
mask &= ~(numlock | LockMask) & ((1<<8) - 1);
for(k=bindings; k; k=k->next)
if(!strcasecmp(k->key, key) && k->mask == mask)
return k->action;