#include "keyboard.h"
#include <glib.h>
+void plugin_setup_config()
+{
+}
+
KeyBindingTree *firstnode;
static KeyBindingTree *curpos;
if (!grabbed) {
grab_keyboard(TRUE);
grabbed = TRUE;
- XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
}
curpos = p;
+ XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
} else {
if (p->action->func != NULL) {
p->action->data.any.c = focus_client;
a = action_new(action_execute);
a->data.execute.path = g_strdup("xterm");
kbind(list, a);
+
+ list->data = "C-A-Escape";
+ a = action_new(action_execute);
+ a->data.execute.path = g_strdup("xlock -nolock -mode puzzle");
+ kbind(list, a);
}
void plugin_startup()