all repos — openbox @ bcdef0b226bb436c5ba5865c3d8dd2eb4bb6aed6

openbox fork - make it a bit more like ryudo

move the def'n of the KeyBindingTree
Dana Jansens danakj@orodu.net
commit

bcdef0b226bb436c5ba5865c3d8dd2eb4bb6aed6

parent

95ffd99cfab5ffc46d3b12f2c1c7c8ac73e70337

2 files changed, 14 insertions(+), 14 deletions(-)

jump to
M plugins/keyboard/keyboard.hplugins/keyboard/keyboard.h

@@ -3,19 +3,7 @@ #define __plugin_keyboard_keybaord_h

#include <glib.h> -#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;
M plugins/keyboard/tree.hplugins/keyboard/tree.h

@@ -1,8 +1,20 @@

#ifndef __plugin_keyboard_tree_h #define __plugin_keyboard_tree_h -#include "keyboard.h" +#include "../../kernel/action.h" #include <glib.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; void tree_destroy(KeyBindingTree *tree); KeyBindingTree *tree_build(GList *keylist);