about summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2013-06-20 02:33:57 +0000
committerokan <okan>2013-06-20 02:33:57 +0000
commit9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79 (patch)
tree1f679799de165046b7704886b55cde893eff0cc1 /xutil.c
parentc30653b1c34cff7ca527e15918595e8bea6941c3 (diff)
parent7004700ce0b216f4ea4bb84043acb311928c9a6d (diff)
downloadcwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.tar.gz
cwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.tar.xz
cwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.zip
cvsimport
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/xutil.c b/xutil.c
index df5fc4f..7145683 100644
--- a/xutil.c
+++ b/xutil.c
@@ -105,41 +105,6 @@ xu_key_grab(Window win, u_int mask, KeySym keysym)
 		    True, GrabModeAsync, GrabModeAsync);
 }
 
-void
-xu_configure(struct client_ctx *cc)
-{
-	XConfigureEvent	 ce;
-
-	ce.type = ConfigureNotify;
-	ce.event = cc->win;
-	ce.window = cc->win;
-	ce.x = cc->geom.x;
-	ce.y = cc->geom.y;
-	ce.width = cc->geom.w;
-	ce.height = cc->geom.h;
-	ce.border_width = cc->bwidth;
-	ce.above = None;
-	ce.override_redirect = 0;
-
-	XSendEvent(X_Dpy, cc->win, False, StructureNotifyMask, (XEvent *)&ce);
-}
-
-void
-xu_sendmsg(Window win, Atom type, Atom atm)
-{
-	XClientMessageEvent	 e;
-
-	bzero(&e, sizeof(e));
-	e.type = ClientMessage;
-	e.window = win;
-	e.message_type = type;
-	e.format = 32;
-	e.data.l[0] = atm;
-	e.data.l[1] = CurrentTime;
-
-	XSendEvent(X_Dpy, win, False, 0L, (XEvent *)&e);
-}
-
 int
 xu_getprop(Window win, Atom atm, Atom type, long len, u_char **p)
 {