diff options
Diffstat (limited to 'openbox/keytree.h')
| -rw-r--r-- | openbox/keytree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/keytree.h b/openbox/keytree.h index c3be0659..d3544f80 100644 --- a/openbox/keytree.h +++ b/openbox/keytree.h @@ -28,7 +28,10 @@ typedef struct KeyBindingTree { guint key; GList *keylist; GSList *actions; /* list of Action pointers */ + gboolean chroot; + /* the level up in the tree */ + struct KeyBindingTree *parent; /* 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).*/ @@ -39,5 +42,7 @@ void tree_destroy(KeyBindingTree *tree); KeyBindingTree *tree_build(GList *keylist); void tree_assimilate(KeyBindingTree *node); KeyBindingTree *tree_find(KeyBindingTree *search, gboolean *conflict); +gboolean tree_chroot(KeyBindingTree *tree, GList *keylist); + #endif |
