#include "keyboard.h"
#include <glib.h>
+void plugin_setup_config()
+{
+}
+
KeyBindingTree *firstnode;
static KeyBindingTree *curpos;
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)
if (!grabbed) {
grab_keyboard(TRUE);
grabbed = TRUE;
- XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
}
curpos = p;
} else {
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()