X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fkeyboard%2Fkeyboard.h;h=bc5d3137db9025ee6bf23371b874b32d5dbdfc8f;hb=1052ca3f744bdad473b6e4028999375fb11d220b;hp=e2406d936b9ac89bd273ebbfc58af6be0150fe0b;hpb=4bcd03b2d0904e2b5443a2383b66055422240255;p=chaz%2Fopenbox diff --git a/plugins/keyboard/keyboard.h b/plugins/keyboard/keyboard.h index e2406d93..bc5d3137 100644 --- a/plugins/keyboard/keyboard.h +++ b/plugins/keyboard/keyboard.h @@ -3,22 +3,10 @@ #include -#include "../../kernel/action.h" - -typedef struct KeyBindingTree { - guint state; - guint key; - GList *keylist; - Action *action; - - /* the next binding in the tree at the same level */ - struct KeyBindingTree *next_sibling; - /* the first child of this binding (next binding in a chained sequence).*/ - struct KeyBindingTree *first_child; -} KeyBindingTree; +#include "tree.h" extern KeyBindingTree *firstnode; -guint keyboard_translate_modifier(char *str); +gboolean kbind(GList *keylist, Action *action); #endif