summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 13:42:39 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 13:42:39 +0100
commit30af19d4426ca32dc38318bbe87534cc44484998 (patch)
treec3d862223531f5b02e3cb6e31b7e9ee5d38193a6 /dwm.h
parentsome more refactoring (diff)
downloaddwm-30af19d4426ca32dc38318bbe87534cc44484998.tar.gz
dwm-30af19d4426ca32dc38318bbe87534cc44484998.zip
added some new convenience functions
Diffstat (limited to '')
-rw-r--r--dwm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dwm.h b/dwm.h
index c07229a..35950a6 100644
--- a/dwm.h
+++ b/dwm.h
@@ -99,7 +99,11 @@ extern Display *dpy;
99extern Window root, barwin; 99extern Window root, barwin;
100 100
101/* client.c */ 101/* client.c */
102extern void attach(Client *c); /* attaches c to global client list */
103extern void attachstack(Client *c); /* attaches client to stack */
102extern void configure(Client *c); /* send synthetic configure event */ 104extern void configure(Client *c); /* send synthetic configure event */
105extern void detach(Client *c); /* detaches c from global client list */
106extern void detachstack(Client *c); /* detaches client from stack */
103extern void focus(Client *c); /* focus c, c may be NULL */ 107extern void focus(Client *c); /* focus c, c may be NULL */
104extern Client *getclient(Window w); /* return client of w */ 108extern Client *getclient(Window w); /* return client of w */
105extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */ 109extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */
@@ -144,7 +148,6 @@ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 *
144extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ 148extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */
145 149
146/* view.c */ 150/* view.c */
147extern void detach(Client *c); /* detaches c from global client list */
148extern void dofloat(void); /* arranges all windows floating */ 151extern void dofloat(void); /* arranges all windows floating */
149extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ 152extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */
150extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ 153extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */