summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dwm.h b/dwm.h
index 35950a6..4a820b0 100644
--- a/dwm.h
+++ b/dwm.h
@@ -99,13 +99,8 @@ 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 */
104extern void configure(Client *c); /* send synthetic configure event */ 102extern 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 */
107extern void focus(Client *c); /* focus c, c may be NULL */ 103extern void focus(Client *c); /* focus c, c may be NULL */
108extern Client *getclient(Window w); /* return client of w */
109extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */ 104extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */
110extern void killclient(Arg *arg); /* kill c nicely */ 105extern void killclient(Arg *arg); /* kill c nicely */
111extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ 106extern void manage(Window w, XWindowAttributes *wa); /* manage new client */
@@ -148,9 +143,14 @@ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 *
148extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ 143extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */
149 144
150/* view.c */ 145/* view.c */
146extern void attach(Client *c); /* attaches c to global client list */
147extern void attachstack(Client *c); /* attaches client to stack */
151extern void dofloat(void); /* arranges all windows floating */ 148extern void dofloat(void); /* arranges all windows floating */
149extern void detach(Client *c); /* detaches c from global client list */
150extern void detachstack(Client *c); /* detaches client from stack */
152extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ 151extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */
153extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ 152extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */
153extern Client *getclient(Window w); /* return client of w */
154extern Bool isvisible(Client *c); /* returns True if client is visible */ 154extern Bool isvisible(Client *c); /* returns True if client is visible */
155extern Client *nextmanaged(Client *c); /* returns managed successor of c */ 155extern Client *nextmanaged(Client *c); /* returns managed successor of c */
156extern void restack(void); /* restores z layers of all clients */ 156extern void restack(void); /* restores z layers of all clients */