dwm-meillo

diff client.c @ 55:fcbf7213d96f

continued with man page
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 08:34:38 +0200
parents a64602deac83
children f005d46462e8
line diff
     1.1 --- a/client.c	Thu Jul 13 21:49:55 2006 +0200
     1.2 +++ b/client.c	Fri Jul 14 08:34:38 2006 +0200
     1.3 @@ -398,7 +398,6 @@
     1.4  	c->next = *l; /* *l == nil */
     1.5  	*l = c;
     1.6  
     1.7 -	XSetWindowBorderWidth(dpy, c->win, 1);
     1.8  	XMapRaised(dpy, c->win);
     1.9  	XMapRaised(dpy, c->title);
    1.10  	XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask,
    1.11 @@ -495,6 +494,7 @@
    1.12  	if(c->maxh && c->h > c->maxh)
    1.13  		c->h = c->maxh;
    1.14  	resize_title(c);
    1.15 +	XSetWindowBorderWidth(dpy, c->win, 1);
    1.16  	XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
    1.17  	e.type = ConfigureNotify;
    1.18  	e.event = c->win;