summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 15:17:31 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 15:17:31 +0100
commitf8415019d4edc1cd4f310adb256e6656e85bfe75 (patch)
tree2813e15f6dbd4a3c1326a3d2c08ab2bcea3c61af /dwm.h
parentrenamed view.c into screen.c (diff)
downloaddwm-f8415019d4edc1cd4f310adb256e6656e85bfe75.tar.gz
dwm-f8415019d4edc1cd4f310adb256e6656e85bfe75.zip
draw.c is useless (belongs to main.c now)
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/dwm.h b/dwm.h
index 57fab91..2ec0bf7 100644
--- a/dwm.h
+++ b/dwm.h
@@ -103,28 +103,23 @@ extern void configure(Client *c); /* send synthetic configure event */
103extern void focus(Client *c); /* focus c, c may be NULL */ 103extern void focus(Client *c); /* focus c, c may be NULL */
104extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ 104extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */
105extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ 105extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */
106extern Client *getclient(Window w); /* return client of w */
107extern void killclient(Arg *arg); /* kill c nicely */ 106extern void killclient(Arg *arg); /* kill c nicely */
108extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ 107extern void manage(Window w, XWindowAttributes *wa); /* manage new client */
109Client *nexttiled(Client *c); /* returns tiled successor of c */ 108Client *nexttiled(Client *c); /* returns tiled successor of c */
110extern void resize(Client *c, int x, int y, 109extern void resize(Client *c, int x, int y,
111 int w, int h, Bool sizehints); /* resize c*/ 110 int w, int h, Bool sizehints); /* resize with given coordinates c*/
112extern void updatesizehints(Client *c); /* update the size hint variables of c */ 111extern void updatesizehints(Client *c); /* update the size hint variables of c */
113extern void updatetitle(Client *c); /* update the name of c */ 112extern void updatetitle(Client *c); /* update the name of c */
114extern void unmanage(Client *c); /* destroy c */ 113extern void unmanage(Client *c); /* destroy c */
115extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ 114extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */
116 115
117/* draw.c */
118extern void drawstatus(void); /* draw the bar */
119extern unsigned long getcolor(const char *colstr); /* return color of colstr */
120extern void setfont(const char *fontstr); /* set the font for DC */
121extern unsigned int textw(const char *text); /* return the width of text in px*/
122
123/* event.c */ 116/* event.c */
124extern void grabkeys(void); /* grab all keys defined in config.h */ 117extern void grabkeys(void); /* grab all keys defined in config.h */
125extern void procevent(void); /* process pending X events */ 118extern void procevent(void); /* process pending X events */
126 119
127/* main.c */ 120/* main.c */
121extern void drawstatus(void); /* draw the bar */
122extern unsigned int textw(const char *text); /* return the width of text in px*/
128extern void quit(Arg *arg); /* quit dwm nicely */ 123extern void quit(Arg *arg); /* quit dwm nicely */
129extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ 124extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */
130extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ 125extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */