aewl

diff dwm.h @ 473:2d8af0d7920d

implemented the maximization as I described on the mailinglist, this feels better to me.
author arg@mmvi
date Fri, 22 Sep 2006 07:37:56 +0200
parents a2cc7adf9d4d
children de69a7b0c8fa
line diff
     1.1 --- a/dwm.h	Wed Sep 20 09:53:21 2006 +0200
     1.2 +++ b/dwm.h	Fri Sep 22 07:37:56 2006 +0200
     1.3 @@ -78,6 +78,7 @@
     1.4  	int proto;
     1.5  	int x, y, w, h;
     1.6  	int tx, ty, tw, th; /* title window geometry */
     1.7 +	int rx, ry, rw, rh; /* revert geometry */
     1.8  	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
     1.9  	int grav;
    1.10  	long flags; 
    1.11 @@ -99,7 +100,7 @@
    1.12  extern void (*handler[LASTEvent])(XEvent *);	/* event handler */
    1.13  extern void (*arrange)(Arg *);			/* arrange function, indicates mode  */
    1.14  extern Atom wmatom[WMLast], netatom[NetLast];
    1.15 -extern Bool running, issel, maximized, *seltag;	/* seltag is array of Bool */
    1.16 +extern Bool running, issel, *seltag;		/* seltag is array of Bool */
    1.17  extern Client *clients, *sel, *stack;		/* global cleint list and stack */
    1.18  extern Cursor cursor[CurLast];
    1.19  extern DC dc;					/* global draw context */
    1.20 @@ -117,7 +118,6 @@
    1.21  extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/
    1.22  extern void updatesize(Client *c);			/* update the size structs of c */
    1.23  extern void updatetitle(Client *c);		/* update the name of c */
    1.24 -extern void togglemax(Arg *arg);		/* (un)maximize c */
    1.25  extern void unmanage(Client *c);		/* destroy c */
    1.26  
    1.27  /* draw.c */