X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=wm.h;h=fc07b5cad4ca9070a9742c200d4220057f7a248c;hp=b647a3e9d66d61e63ef3abee1ace73dcdb29e04b;hb=896f08d7d553f7def3877648c113cf03e6ca546a;hpb=48b6e9a3968e54a87f022c8e68b5bec5423cb75f diff --git a/wm.h b/wm.h index b647a3e..fc07b5c 100644 --- a/wm.h +++ b/wm.h @@ -21,19 +21,16 @@ enum { NetSupported, NetWMName, NetLast }; /* cursor */ enum { CurNormal, CurResize, CurMove, CurInput, CurLast }; -/* rects */ -enum { RFloat, RGrid, RLast }; - struct Client { - char name[256]; - char tag[256]; + char name[256], tag[256]; int proto; - Bool fixedsize; + int x, y, w, h; + int tx, ty, tw, th; + int basew, baseh, incw, inch, maxw, maxh, minw, minh; + long flags; Window win; Window trans; Window title; - XSizeHints size; - XRectangle r[RLast]; Client *next; Client *snext; }; @@ -75,6 +72,7 @@ extern void focus(Client *c); extern void update_name(Client *c); extern void draw_client(Client *c); extern void resize(Client *c); +extern void update_size(Client *c); /* event.c */ extern unsigned int discard_events(long even_mask);