summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-26 16:24:51 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-26 16:24:51 +0100
commitbab5b1178dd0a6bfe08e3d658a47b3b5671a93d4 (patch)
tree839a6a7e9029d8b00b899a1821341bff15cf7a1c /main.c
parentEscape -s in dwm.1 (diff)
downloaddwm-bab5b1178dd0a6bfe08e3d658a47b3b5671a93d4.tar.gz
dwm-bab5b1178dd0a6bfe08e3d658a47b3b5671a93d4.zip
removed sendevent
Diffstat (limited to '')
-rw-r--r--main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/main.c b/main.c
index e6ba20c..8b67408 100644
--- a/main.c
+++ b/main.c
@@ -222,20 +222,6 @@ xerrorstart(Display *dsply, XErrorEvent *ee) {
222/* extern */ 222/* extern */
223 223
224void 224void
225sendevent(Window w, Atom a, long value) {
226 XEvent e;
227
228 e.type = ClientMessage;
229 e.xclient.window = w;
230 e.xclient.message_type = a;
231 e.xclient.format = 32;
232 e.xclient.data.l[0] = value;
233 e.xclient.data.l[1] = CurrentTime;
234 XSendEvent(dpy, w, False, NoEventMask, &e);
235 XSync(dpy, False);
236}
237
238void
239quit(const char *arg) { 225quit(const char *arg) {
240 readin = running = False; 226 readin = running = False;
241} 227}