70 int rx, ry, rw, rh; /* revert geometry */ |
70 int rx, ry, rw, rh; /* revert geometry */ |
71 int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
71 int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
72 int minax, minay, maxax, maxay; |
72 int minax, minay, maxax, maxay; |
73 long flags; |
73 long flags; |
74 unsigned int border; |
74 unsigned int border; |
75 Bool isbanned, isfixed, ismax, swimming; |
75 Bool isbanned, isfixed, ismax, versatile; |
76 Bool *tags; |
76 Bool *tags; |
77 Client *next; |
77 Client *next; |
78 Client *prev; |
78 Client *prev; |
79 Client *snext; |
79 Client *snext; |
80 Window win; |
80 Window win; |
133 extern void initlayouts(void); /* initialize layout array */ |
133 extern void initlayouts(void); /* initialize layout array */ |
134 extern Bool isvisible(Client *c); /* returns True if client is visible */ |
134 extern Bool isvisible(Client *c); /* returns True if client is visible */ |
135 extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ |
135 extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ |
136 extern void restack(void); /* restores z layers of all clients */ |
136 extern void restack(void); /* restores z layers of all clients */ |
137 extern void settags(Client *c, Client *trans); /* sets tags of c */ |
137 extern void settags(Client *c, Client *trans); /* sets tags of c */ |
138 extern void swim(void); /* arranges all windows swimming */ |
|
139 extern void tag(Arg *arg); /* tags c with arg's index */ |
138 extern void tag(Arg *arg); /* tags c with arg's index */ |
140 extern void toggleswimming(Arg *arg); /* toggles focusesd client between swimming/and non-swimming state */ |
139 extern void toggleversatile(Arg *arg); /* toggles focusesd client between versatile/and non-versatile state */ |
141 extern void togglelayout(Arg *arg); /* toggles layout */ |
140 extern void togglelayout(Arg *arg); /* toggles layout */ |
142 extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ |
141 extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ |
143 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
142 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
|
143 extern void versatile(void); /* arranges all windows versatile */ |
144 extern void view(Arg *arg); /* views the tag with arg's index */ |
144 extern void view(Arg *arg); /* views the tag with arg's index */ |
145 |
145 |
146 /* util.c */ |
146 /* util.c */ |
147 extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ |
147 extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ |
148 extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ |
148 extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ |