summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 15:05:29 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 15:05:29 +0100
commit238dd5d2b15b8bdc0f05d5be7f86a1ca03d2920b (patch)
tree8f08ae0a2fe2a6e40aa0a263f6d19ada4291215b /dwm.h
parentrenamed manage.c to view.c (diff)
downloaddwm-238dd5d2b15b8bdc0f05d5be7f86a1ca03d2920b.tar.gz
dwm-238dd5d2b15b8bdc0f05d5be7f86a1ca03d2920b.zip
renamed view.c into screen.c
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/dwm.h b/dwm.h
index cca9984..57fab91 100644
--- a/dwm.h
+++ b/dwm.h
@@ -99,22 +99,20 @@ 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 void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ 104extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */
109extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ 105extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */
110extern Client *getclient(Window w); /* return client of w */ 106extern Client *getclient(Window w); /* return client of w */
111extern void killclient(Arg *arg); /* kill c nicely */ 107extern void killclient(Arg *arg); /* kill c nicely */
112extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ 108extern void manage(Window w, XWindowAttributes *wa); /* manage new client */
109Client *nexttiled(Client *c); /* returns tiled successor of c */
113extern void resize(Client *c, int x, int y, 110extern void resize(Client *c, int x, int y,
114 int w, int h, Bool sizehints); /* resize c*/ 111 int w, int h, Bool sizehints); /* resize c*/
115extern void updatesizehints(Client *c); /* update the size hint variables of c */ 112extern void updatesizehints(Client *c); /* update the size hint variables of c */
116extern void updatetitle(Client *c); /* update the name of c */ 113extern void updatetitle(Client *c); /* update the name of c */
117extern void unmanage(Client *c); /* destroy c */ 114extern void unmanage(Client *c); /* destroy c */
115extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */
118 116
119/* draw.c */ 117/* draw.c */
120extern void drawstatus(void); /* draw the bar */ 118extern void drawstatus(void); /* draw the bar */
@@ -131,7 +129,7 @@ extern void quit(Arg *arg); /* quit dwm nicely */
131extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ 129extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */
132extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ 130extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */
133 131
134/* manage.c */ 132/* screen.c */
135extern void compileregexps(void); /* initialize regexps of rules defined in config.h */ 133extern void compileregexps(void); /* initialize regexps of rules defined in config.h */
136extern void dofloat(void); /* arranges all windows floating */ 134extern void dofloat(void); /* arranges all windows floating */
137extern void dotile(void); /* arranges all windows tiled */ 135extern void dotile(void); /* arranges all windows tiled */
@@ -146,9 +144,9 @@ extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/do
146extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ 144extern void toggletag(Arg *arg); /* toggles c tags with arg's index */
147extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ 145extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */
148extern void view(Arg *arg); /* views the tag with arg's index */ 146extern void view(Arg *arg); /* views the tag with arg's index */
149extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */
150 147
151/* util.c */ 148/* util.c */
152extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ 149extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */
153extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ 150extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */
154extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ 151extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */
152