diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-26 01:25:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-26 01:25:52 +0000 |
| commit | b6d2529acb6e31efbf8c7791e44905a1712da891 (patch) | |
| tree | 752bd615f53234488500bdc655d08ad26f4f2647 /openbox/keytree.h | |
| parent | 1ee98f4a47e67b653057a62171a0993b80f81f8e (diff) | |
add chrooting. use chroot="true" on the chroot location
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 |
