foo-wm

(Archived) Experimental Zooming IPC-based WM
git clone http://milesalan.com/git/foo-wm
Log | Files | Refs | Mirror | README | LICENSE

tree.h (797B)


      1 Bool isClient(Node * node);
      2 Bool isOnlyChild(Node * node);
      3 Bool nodeIsParentOf(Node * nodeA, Node * nodeB);
      4 Bool unfocusNode(Node * n, Bool focusPath);
      5 
      6 char * crawlNode(Node * node, int level);
      7 long getBorderColor(Node * node, Bool focusPath);
      8 
      9 Node * getBrother(Node * node, int delta);
     10 Node * getBrotherClient(Node * node, int direction);
     11 Node * getClosestClient(Node * node);
     12 
     13 void brotherNode(Node *node, Node * brother, int position);
     14 void destroyNode(Node * n);
     15 void dumpTree();
     16 void focusNode(Node * n, XEvent * event, Bool setFocused, Bool focusPath);
     17 void parentNode(Node *node, Node *parent);
     18 void placeNode(Node * node, int x, int y, int width, int height);
     19 void rePlaceNode(Node * node);
     20 void swapNodes(Node * a, Node * b);
     21 void unmapNode(Node * node);
     22 void unparentNode(Node *node);