Enable multiple keys bindings to be executed with the same key press event

This commit is contained in:
Julien Danjou 2008-03-15 09:07:35 +01:00
parent cc56ccd2e9
commit b2261160b4
1 changed files with 0 additions and 3 deletions

View File

@ -343,10 +343,7 @@ event_handle_keypress(XEvent *e)
for(k = globalconf.keys; k; k = k->next)
if(ev->keycode == k->keycode &&
k->func && CLEANMASK(k->mod) == CLEANMASK(ev->state))
{
k->func(screen, k->arg);
break;
}
}
/** Handle XCrossing events on leave