dwm.c
changeset 1246 8e0e5e128a06
parent 1245 2488c46e002c
child 1247 47393d61a695
equal deleted inserted replaced
1245:2488c46e002c 1246:8e0e5e128a06
   265 		if(c->tags & tagset[seltags]) { /* is visible */
   265 		if(c->tags & tagset[seltags]) { /* is visible */
   266 			if(ismax && !c->isfixed) {
   266 			if(ismax && !c->isfixed) {
   267 				XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw);
   267 				XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw);
   268 				c->ismoved = True;
   268 				c->ismoved = True;
   269 			}
   269 			}
   270 			else if(!lt->arrange || ismax || c->isfloating)
   270 			else if(!lt->arrange || c->isfloating)
   271 				resize(c, c->x, c->y, c->w, c->h, True);
   271 				resize(c, c->x, c->y, c->w, c->h, True);
   272 			c->isbanned = False;
   272 			c->isbanned = False;
   273 		}
   273 		}
   274 		else if(!c->isbanned) {
   274 		else if(!c->isbanned) {
   275 			XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
   275 			XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);