layout.c
changeset 914 dad36921af06
parent 912 f7b26d6efc9f
child 915 67104d329f06
equal deleted inserted replaced
913:d9c7c686d4dc 914:dad36921af06
    86 floating(void) {
    86 floating(void) {
    87 	Client *c;
    87 	Client *c;
    88 
    88 
    89 	for(c = clients; c; c = c->next)
    89 	for(c = clients; c; c = c->next)
    90 		if(isvisible(c)) {
    90 		if(isvisible(c)) {
    91 			if(c->isbanned)
    91 			unban(c);
    92 				XMoveWindow(dpy, c->win, c->x, c->y);
       
    93 			c->isbanned = False;
       
    94 			resize(c, c->x, c->y, c->w, c->h, True);
    92 			resize(c, c->x, c->y, c->w, c->h, True);
    95 		}
    93 		}
    96 		else
    94 		else
    97 			ban(c);
    95 			ban(c);
    98 	focus(NULL);
    96 	focus(NULL);