X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=ee15949c9070694682629172f0192ed628bc4122;hb=86d9851427710ca0f3ab95ae9b6c20361b56e516;hp=118ac242ec925b0cf003ef7ec837a028f83eed12;hpb=3aad92202d58208c4197857d3f17c535ba0bd56a;p=dwm.git diff --git a/dwm.h b/dwm.h index 118ac24..ee15949 100644 --- a/dwm.h +++ b/dwm.h @@ -66,8 +66,8 @@ struct Client { int grav; unsigned int border; long flags; + Bool floating; Window win; - Window trans; Window title; Client *next; Client *revert; @@ -77,6 +77,7 @@ struct Rule { const char *class; const char *instance; char *tags[TLast]; + Bool floating; }; struct Key { @@ -91,7 +92,8 @@ extern Window root; extern Atom wm_atom[WMLast], net_atom[NetLast]; extern Cursor cursor[CurLast]; extern Bool running, issel; -extern void (*handler[LASTEvent]) (XEvent *); +extern void (*handler[LASTEvent])(XEvent *); +extern void (*arrange)(Arg *); extern int tsel, screen, sx, sy, sw, sh, mw, th; extern char *tags[TLast]; @@ -106,7 +108,7 @@ extern Client *getclient(Window w); extern void focus(Client *c); extern void update_name(Client *c); extern void draw_client(Client *c); -extern void resize(Client *c); +extern void resize(Client *c, Bool inc); extern void update_size(Client *c); extern Client *gettitle(Window w); extern void craise(Client *c); @@ -117,7 +119,8 @@ extern void prevc(Arg *arg); extern void max(Arg *arg); extern void floating(Arg *arg); extern void tiling(Arg *arg); -extern void tag(Arg *arg); +extern void ttrunc(Arg *arg); +extern void tappend(Arg *arg); extern void view(Arg *arg); extern void zoom(Arg *arg); extern void gravitate(Client *c, Bool invert);