if (e->data.x.e->xkey.keycode == reset_key &&
e->data.x.e->xkey.state == reset_state) {
reset_chains();
- XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
} else {
KeyBindingTree *p;
if (curpos == NULL)
grabbed = TRUE;
}
curpos = p;
- XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
} else {
if (p->action->func != NULL) {
p->action->data.any.c = focus_client;
p->action->func(&p->action->data);
}
- XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
reset_chains();
}
break;
p = p->next_sibling;
}
}
+ XAllowEvents(ob_display, AsyncKeyboard, e->data.x.e->xkey.time);
}
static void binddef()