From b6d2529acb6e31efbf8c7791e44905a1712da891 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 26 Apr 2007 01:25:52 +0000 Subject: add chrooting. use chroot="true" on the chroot location --- openbox/keytree.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/keytree.h') 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 -- cgit v1.2.3