fix a crash from chroot of invalid keys, and make keybindings reload better
authorDana Jansens <danakj@orodu.net>
Sat, 2 Feb 2008 05:59:59 +0000 (00:59 -0500)
committerDana Jansens <danakj@orodu.net>
Sat, 2 Feb 2008 06:25:59 +0000 (01:25 -0500)
commit3b0f41dc66da86aaad4f0343bbfb632c7bbfd0c7
treea4aed84e724d2c3a19392874a86bc22cd2c26b48
parent6a3ac556b9ed5fd6e578da20a144f22dd4769267
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/keyboard.c
openbox/keytree.c
openbox/keytree.h