foo-wm

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

commit ddd185ef4f7300af57aa2f92a6acc95e24df9a0e
parent 21a4253f0b44f3b76b368adbcfc454105f9121d7
Author: = <miles.sandlar@gmail.com>
Date:   Fri, 27 Jul 2012 21:26:17 -0400

Removal of unecessary code

Diffstat:
Msrc/commands.c | 22----------------------
1 file changed, 0 insertions(+), 22 deletions(-)

diff --git a/src/commands.c b/src/commands.c @@ -113,7 +113,6 @@ void focus(char * brotherOrPc, int delta) { (focusedNode -> focus ? focusedNode -> focus : focusedNode -> child); } - if (focusedNode == newFocus) return; focusNode(newFocus, NULL, True); delta = delta + ( delta > 0 ? -1 : 1); } @@ -122,27 +121,6 @@ void focus(char * brotherOrPc, int delta) { void containerize() { Node * newContainer = allocateNode(); - - /* - if (selectedNode) { - //if (selectedNode -> previous || selectedNode -> next) { - Node *insertNode; int insertPosition = -300; - if (selectedNode -> previous) { - insertNode = selectedNode -> previous; insertPosition = NEXT; - } else if (selectedNode -> next) { - insertNode = selectedNode -> next; insertPosition = PREVIOUS; - } - - parentNode(selectedNode, newContainer); - if (insertPosition != -300) { - brotherNode(newContainer, insertNode, insertPosition); - } - placeNode(viewNode, rootX, rootY, rootWidth, rootHeight); - //} - - - } else - */ if (focusedNode) { /* Working iwth a focused Client */ /* Containerizing a client that is one of many in an existing container */ if (focusedNode -> previous || focusedNode -> next) {