about summary refs log tree commit diff stats
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
parentee8fb0c6e49780441a91f994595f4de0422df1a8 (diff)
downloaddwm-bab5b1178dd0a6bfe08e3d658a47b3b5671a93d4.tar.gz
removed sendevent
Diffstat (limited to 'main.c')
-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) {
 /* extern */
 
 void
-sendevent(Window w, Atom a, long value) {
-	XEvent e;
-
-	e.type = ClientMessage;
-	e.xclient.window = w;
-	e.xclient.message_type = a;
-	e.xclient.format = 32;
-	e.xclient.data.l[0] = value;
-	e.xclient.data.l[1] = CurrentTime;
-	XSendEvent(dpy, w, False, NoEventMask, &e);
-	XSync(dpy, False);
-}
-
-void
 quit(const char *arg) {
 	readin = running = False;
 }