dwm.c
changeset 1297 20481c9d647c
parent 1295 9f20458e3bbc
child 1298 65d0b21b5e05
equal deleted inserted replaced
1295:9f20458e3bbc 1297:20481c9d647c
   927 		c->isfloating = (rettrans == Success) || c->isfixed;
   927 		c->isfloating = (rettrans == Success) || c->isfixed;
   928 	if(c->isfloating)
   928 	if(c->isfloating)
   929 		XRaiseWindow(dpy, c->win);
   929 		XRaiseWindow(dpy, c->win);
   930 	attach(c);
   930 	attach(c);
   931 	attachstack(c);
   931 	attachstack(c);
   932 	XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
   932 	XMoveResizeWindow(dpy, c->win, c->x + 2 * sw, c->y, c->w, c->h); /* some windows require this */
   933 	XMapWindow(dpy, c->win);
   933 	XMapWindow(dpy, c->win);
   934 	setclientstate(c, NormalState);
   934 	setclientstate(c, NormalState);
   935 	arrange();
   935 	arrange();
   936 }
   936 }
   937 
   937