about summary refs log tree commit diff stats
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
parent238dd5d2b15b8bdc0f05d5be7f86a1ca03d2920b (diff)
downloaddwm-f8415019d4edc1cd4f310adb256e6656e85bfe75.tar.gz
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 */
 extern void focus(Client *c);			/* focus c, c may be NULL */
 extern void focusnext(Arg *arg);		/* focuses next visible client, arg is ignored  */
 extern void focusprev(Arg *arg);		/* focuses previous visible client, arg is ignored */
-extern Client *getclient(Window w);		/* return client of w */
 extern void killclient(Arg *arg);		/* kill c nicely */
 extern void manage(Window w, XWindowAttributes *wa);	/* manage new client */
 Client *nexttiled(Client *c);			/* returns tiled successor of c */
 extern void resize(Client *c, int x, int y,
-		int w, int h, Bool sizehints);	/* resize c*/
+		int w, int h, Bool sizehints);	/* resize with given coordinates c*/
 extern void updatesizehints(Client *c);		/* update the size hint variables of c */
 extern void updatetitle(Client *c);		/* update the name of c */
 extern void unmanage(Client *c);		/* destroy c */
 extern void zoom(Arg *arg);			/* zooms the focused client to master area, arg is ignored */
 
-/* draw.c */
-extern void drawstatus(void);			/* draw the bar */
-extern unsigned long getcolor(const char *colstr);	/* return color of colstr */
-extern void setfont(const char *fontstr);	/* set the font for DC */
-extern unsigned int textw(const char *text);	/* return the width of text in px*/
-
 /* event.c */
 extern void grabkeys(void);			/* grab all keys defined in config.h */
 extern void procevent(void);			/* process pending X events */
 
 /* main.c */
+extern void drawstatus(void);			/* draw the bar */
+extern unsigned int textw(const char *text);	/* return the width of text in px*/
 extern void quit(Arg *arg);			/* quit dwm nicely */
 extern void sendevent(Window w, Atom a, long value);	/* send synthetic event to w */
 extern int xerror(Display *dsply, XErrorEvent *ee);	/* dwm's X error handler */
n43' href='#n43'>43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152