dwm-meillo

changeset 639:226ef912c093

renamed updatesize into updatesizehints (thx to Sander for this hint)
author arg@mig29
date Mon, 01 Jan 2007 19:10:31 +0100
parents 276238ad9516
children 9cd88c168f41
files client.c dwm.h event.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/client.c	Wed Dec 20 12:07:05 2006 +0100
     1.2 +++ b/client.c	Mon Jan 01 19:10:31 2007 +0100
     1.3 @@ -156,7 +156,7 @@
     1.4  	c->w = c->tw = wa->width;
     1.5  	c->h = wa->height;
     1.6  	c->th = bh;
     1.7 -	updatesize(c);
     1.8 +	updatesizehints(c);
     1.9  	if(c->x + c->w + 2 * BORDERPX > sw)
    1.10  		c->x = sw - c->w - 2 * BORDERPX;
    1.11  	if(c->x < sx)
    1.12 @@ -256,7 +256,7 @@
    1.13  }
    1.14  
    1.15  void
    1.16 -updatesize(Client *c) {
    1.17 +updatesizehints(Client *c) {
    1.18  	long msize;
    1.19  	XSizeHints size;
    1.20  
     2.1 --- a/dwm.h	Wed Dec 20 12:07:05 2006 +0100
     2.2 +++ b/dwm.h	Mon Jan 01 19:10:31 2007 +0100
     2.3 @@ -117,7 +117,7 @@
     2.4  extern void manage(Window w, XWindowAttributes *wa);	/* manage new client */
     2.5  extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/
     2.6  extern void resizetitle(Client *c);		/* resizes c->twin correctly */
     2.7 -extern void updatesize(Client *c);			/* update the size structs of c */
     2.8 +extern void updatesizehints(Client *c);		/* update the size struct of c */
     2.9  extern void updatetitle(Client *c);		/* update the name of c */
    2.10  extern void unmanage(Client *c);		/* destroy c */
    2.11  
     3.1 --- a/event.c	Wed Dec 20 12:07:05 2006 +0100
     3.2 +++ b/event.c	Mon Jan 01 19:10:31 2007 +0100
     3.3 @@ -314,7 +314,7 @@
     3.4  					arrange();
     3.5  				break;
     3.6  			case XA_WM_NORMAL_HINTS:
     3.7 -				updatesize(c);
     3.8 +				updatesizehints(c);
     3.9  				break;
    3.10  		}
    3.11  		if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {