view.c
changeset 401 1eb2eb405653
parent 400 052657ff2e7b
child 402 c7d5ff57998d
equal deleted inserted replaced
400:052657ff2e7b 401:1eb2eb405653
    66 			resize(c, True, TopLeft);
    66 			resize(c, True, TopLeft);
    67 		}
    67 		}
    68 		else
    68 		else
    69 			ban(c);
    69 			ban(c);
    70 	}
    70 	}
    71 	if(!(fc = sel) || !isvisible(fc))
    71 	if(!sel || !isvisible(sel))
    72 		fc = getnext(clients);
    72 		focus(getnext(clients));
    73 	focus(fc);
       
    74 	restack();
    73 	restack();
    75 }
    74 }
    76 
    75 
    77 void
    76 void
    78 dotile(Arg *arg)
    77 dotile(Arg *arg)
   129 			i++;
   128 			i++;
   130 		}
   129 		}
   131 		else
   130 		else
   132 			ban(c);
   131 			ban(c);
   133 	}
   132 	}
   134 	if(!(fc = sel) || !isvisible(fc))
   133 	if(!sel || !isvisible(sel))
   135 		fc = getnext(clients);
   134 		focus(getnext(clients));
   136 	focus(fc);
       
   137 	restack();
   135 	restack();
   138 }
   136 }
   139 
   137 
   140 void
   138 void
   141 focusnext(Arg *arg)
   139 focusnext(Arg *arg)