From d800ec05ff63451193a0b858c114f5144534c2a1 Mon Sep 17 00:00:00 2001 From: "arg@mmvi" Date: Fri, 22 Sep 2006 07:37:56 +0200 Subject: implemented the maximization as I described on the mailinglist, this feels better to me. --- dwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dwm.h') diff --git a/dwm.h b/dwm.h index c08388f..60f9201 100644 --- a/dwm.h +++ b/dwm.h @@ -78,6 +78,7 @@ struct Client { int proto; int x, y, w, h; int tx, ty, tw, th; /* title window geometry */ + int rx, ry, rw, rh; /* revert geometry */ int basew, baseh, incw, inch, maxw, maxh, minw, minh; int grav; long flags; @@ -99,7 +100,7 @@ extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ extern void (*handler[LASTEvent])(XEvent *); /* event handler */ extern void (*arrange)(Arg *); /* arrange function, indicates mode */ extern Atom wmatom[WMLast], netatom[NetLast]; -extern Bool running, issel, maximized, *seltag; /* seltag is array of Bool */ +extern Bool running, issel, *seltag; /* seltag is array of Bool */ extern Client *clients, *sel, *stack; /* global cleint list and stack */ extern Cursor cursor[CurLast]; extern DC dc; /* global draw context */ @@ -117,7 +118,6 @@ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/ extern void updatesize(Client *c); /* update the size structs of c */ extern void updatetitle(Client *c); /* update the name of c */ -extern void togglemax(Arg *arg); /* (un)maximize c */ extern void unmanage(Client *c); /* destroy c */ /* draw.c */ -- cgit v1.2.3-54-g00ecf