X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fkeytree.h;h=0307378d06e378ed590a45a743fba15655665b39;hb=3ae58f457bcdfa90b26dad4c9d192f045874ddae;hp=d3544f80b6988f392d102d9cd5795c0a829e8182;hpb=b6d2529acb6e31efbf8c7791e44905a1712da891;p=chaz%2Fopenbox diff --git a/openbox/keytree.h b/openbox/keytree.h index d3544f80..0307378d 100644 --- a/openbox/keytree.h +++ b/openbox/keytree.h @@ -19,8 +19,6 @@ #ifndef __plugin_keyboard_tree_h #define __plugin_keyboard_tree_h -#include "action.h" - #include typedef struct KeyBindingTree { @@ -31,9 +29,9 @@ typedef struct KeyBindingTree { gboolean chroot; /* the level up in the tree */ - struct KeyBindingTree *parent; + struct KeyBindingTree *parent; /* the next binding in the tree at the same level */ - struct KeyBindingTree *next_sibling; + struct KeyBindingTree *next_sibling; /* the first child of this binding (next binding in a chained sequence).*/ struct KeyBindingTree *first_child; } KeyBindingTree; @@ -43,6 +41,7 @@ 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