X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fkeyboard%2Fkeyboard.h;h=bc5d3137db9025ee6bf23371b874b32d5dbdfc8f;hb=4736c257a54409bf3b0ef0d803da650c71684dee;hp=b183fa38b38dafa3f0735f3461c02d26cfc5a73d;hpb=739c958ac58154f8b1896113701e1c7f580d4cde;p=chaz%2Fopenbox diff --git a/plugins/keyboard/keyboard.h b/plugins/keyboard/keyboard.h index b183fa38..bc5d3137 100644 --- a/plugins/keyboard/keyboard.h +++ b/plugins/keyboard/keyboard.h @@ -1,23 +1,12 @@ #ifndef __plugin_keyboard_keybaord_h #define __plugin_keyboard_keybaord_h -#include "keyaction.h" #include -typedef struct KeyBindingTree { - guint state; - guint key; - GList *keylist; - KeyAction 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