X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=178aab88869984fab3f189976ce8c75e40a9219a;hb=da909dd1e879f9966c77735db3fe322f0f303a1c;hp=c08388f5eb09e6c2dbbdfdbb311b8b5eeeb51121;hpb=886b2088f18ea3cb14421702b154efdd4759cfb2;p=dwm.git diff --git a/dwm.h b/dwm.h index c08388f..178aab8 100644 --- a/dwm.h +++ b/dwm.h @@ -77,12 +77,13 @@ struct Client { char name[256]; int proto; int x, y, w, h; + int rx, ry, rw, rh; /* revert geometry */ int tx, ty, tw, th; /* title window geometry */ int basew, baseh, incw, inch, maxw, maxh, minw, minh; int grav; long flags; unsigned int border, weight; - Bool isfloat; + Bool isfloat, ismax; Bool *tags; Client *next; Client *prev; @@ -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 */