X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/2c477cf66147d369ae8ff17acdce743c6811ee6a..9ca5c3b108dbda55c1ac9f068b631911f5685eeb:/main.c diff --git a/main.c b/main.c index e6ba20c..8b67408 100644 --- a/main.c +++ b/main.c @@ -221,20 +221,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;