summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 13:00:29 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 13:00:29 +0100
commit5cc27f1b3c61df4f048cdac9e0feb31a2dd80c63 (patch)
tree2025c7842831bd512df4816717e5e47160f99f7c /dwm.h
parentsimplified configurerequest to a bare minimum, removed wrong ban() calls (diff)
downloaddwm-5cc27f1b3c61df4f048cdac9e0feb31a2dd80c63.tar.gz
dwm-5cc27f1b3c61df4f048cdac9e0feb31a2dd80c63.zip
introduced tile.c, some refactoring of functions
Diffstat (limited to '')
-rw-r--r--dwm.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/dwm.h b/dwm.h
index 43b3730..c07229a 100644
--- a/dwm.h
+++ b/dwm.h
@@ -127,11 +127,17 @@ extern void sendevent(Window w, Atom a, long value); /* send synthetic event to
127extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ 127extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */
128 128
129/* tag.c */ 129/* tag.c */
130extern void initrregs(void); /* initialize regexps of rules defined in config.h */ 130extern void compileregexps(void); /* initialize regexps of rules defined in config.h */
131extern void settags(Client *c, Client *trans); /* sets tags of c */ 131extern void settags(Client *c, Client *trans); /* sets tags of c */
132extern void tag(Arg *arg); /* tags c with arg's index */ 132extern void tag(Arg *arg); /* tags c with arg's index */
133extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ 133extern void toggletag(Arg *arg); /* toggles c tags with arg's index */
134 134
135/* tile.c */
136extern void dotile(void); /* arranges all windows tiled */
137extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */
138extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */
139extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */
140
135/* util.c */ 141/* util.c */
136extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ 142extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */
137extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ 143extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */
@@ -140,15 +146,12 @@ extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */
140/* view.c */ 146/* view.c */
141extern void detach(Client *c); /* detaches c from global client list */ 147extern void detach(Client *c); /* detaches c from global client list */
142extern void dofloat(void); /* arranges all windows floating */ 148extern void dofloat(void); /* arranges all windows floating */
143extern void dotile(void); /* arranges all windows tiled */
144extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ 149extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */
145extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ 150extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */
146extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */
147extern Bool isvisible(Client *c); /* returns True if client is visible */ 151extern Bool isvisible(Client *c); /* returns True if client is visible */
148extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ 152extern Client *nextmanaged(Client *c); /* returns managed successor of c */
149extern void restack(void); /* restores z layers of all clients */ 153extern void restack(void); /* restores z layers of all clients */
150extern void togglefloat(Arg *arg); /* toggles focusesd client between floating/non-floating state */ 154extern void togglefloat(Arg *arg); /* toggles focusesd client between floating/non-floating state */
151extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ 155extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */
152extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ 156extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */
153extern void view(Arg *arg); /* views the tag with arg's index */ 157extern void view(Arg *arg); /* views the tag with arg's index */
154extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */