X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=822f9594922be0c99dd406e338560f7513abd55e;hb=8012fcf3334148d2b39646fd372a7514cc74c250;hp=0d633418d9d31e9ae2fd55f2c488a60fcd3e7081;hpb=cee56d38632bbac08e7f59d58c7c7ab1370be329;p=dwm.git diff --git a/dwm.h b/dwm.h index 0d63341..822f959 100644 --- a/dwm.h +++ b/dwm.h @@ -72,7 +72,7 @@ struct Client { int minax, minay, maxax, maxay; long flags; unsigned int border; - Bool isbanned, isfixed, ismax, swimming; + Bool isbanned, isfixed, ismax, isversatile; Bool *tags; Client *next; Client *prev; @@ -120,6 +120,15 @@ extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is /* event.c */ extern void grabkeys(void); /* grab all keys defined in config.h */ +/* layout.c */ +extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ +extern void initlayouts(void); /* initialize layout array */ +extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ +extern void restack(void); /* restores z layers of all clients */ +extern void setlayout(Arg *arg); /* sets layout, -1 toggles */ +extern void toggleversatile(Arg *arg); /* toggles focusesd client between versatile/and non-versatile state */ +extern void versatile(void); /* arranges all windows versatile */ + /* main.c */ extern void drawstatus(void); /* draw the bar */ extern unsigned int textw(const char *text); /* return the width of text in px*/ @@ -127,18 +136,11 @@ extern void quit(Arg *arg); /* quit dwm nicely */ extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ -/* screen.c */ +/* tag.c */ extern void compileregs(void); /* initialize regexps of rules defined in config.h */ -extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ -extern void initlayouts(void); /* initialize layout array */ extern Bool isvisible(Client *c); /* returns True if client is visible */ -extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ -extern void restack(void); /* restores z layers of all clients */ extern void settags(Client *c, Client *trans); /* sets tags of c */ -extern void swim(void); /* arranges all windows swimming */ extern void tag(Arg *arg); /* tags c with arg's index */ -extern void toggleswimming(Arg *arg); /* toggles focusesd client between swimming/and non-swimming state */ -extern void togglelayout(Arg *arg); /* toggles layout */ extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ extern void view(Arg *arg); /* views the tag with arg's index */