From 3b0f41dc66da86aaad4f0343bbfb632c7bbfd0c7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 2 Feb 2008 00:59:59 -0500 Subject: fix a crash from chroot of invalid keys, and make keybindings reload better since invalid(not translated) keybindings are allowed in the tree, the tree's structure may actually need to change when reconfiguring. actually, it could need to anyways. so when re-translating all the keybindings, actually rebuild the keybinding tree. also, make the chroot building code not fail when translate fails, to match the rest of the code and avoid segfaults with chroots on invalid keys. --- openbox/keytree.h | 1 - 1 file changed, 1 deletion(-) (limited to 'openbox/keytree.h') diff --git a/openbox/keytree.h b/openbox/keytree.h index 0307378d..391cb154 100644 --- a/openbox/keytree.h +++ b/openbox/keytree.h @@ -41,7 +41,6 @@ KeyBindingTree *tree_build(GList *keylist); void tree_assimilate(KeyBindingTree *node); KeyBindingTree *tree_find(KeyBindingTree *search, gboolean *conflict); gboolean tree_chroot(KeyBindingTree *tree, GList *keylist); -void tree_rebind(KeyBindingTree *node); #endif -- cgit v1.2.3