summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authoroga <oga>2008-04-16 13:35:37 +0000
committeroga <oga>2008-04-16 13:35:37 +0000
commitf67772be650718b2e408a26ef08e1946a0abf1ab (patch)
tree72af4f9de32716d21f7cd517b815169deee85b2e /client.c
parent642afbdf8ca97818e849d126619cbc1bb7ff5871 (diff)
downloadcwm-f67772be650718b2e408a26ef08e1946a0abf1ab.tar.gz
cwm-f67772be650718b2e408a26ef08e1946a0abf1ab.tar.xz
cwm-f67772be650718b2e408a26ef08e1946a0abf1ab.zip
Remove screen_infomsg(), nothing uses it.
ok okan.
Diffstat (limited to 'client.c')
-rw-r--r--client.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/client.c b/client.c
index ef069fb..77efde3 100644
--- a/client.c
+++ b/client.c
@@ -610,7 +610,7 @@ client_cyclenext(int reverse)
 
 	/* TODO: maybe this should just be a CIRCLEQ. */
 
-	if (!(cc = _curcc)) {
+	if ((cc = client_current()) == NULL) {
 		if (TAILQ_EMPTY(&Clientq))
 			return(NULL);
 		cc = TAILQ_FIRST(&Clientq);
@@ -676,20 +676,6 @@ client__cycle(struct client_ctx *cc,
 }
 
 void
-client_altrelease()
-{
-	struct client_ctx *cc = _curcc;
-	struct screen_ctx *sc;
-
-	if (cc == NULL)
-		return;
-	sc = CCTOSC(cc);
-
-	XUnmapWindow(X_Dpy, sc->infowin);
-	XReparentWindow(X_Dpy, sc->infowin, sc->rootwin, 0, 0);
-}
-
-void
 client_placecalc(struct client_ctx *cc)
 {
 	struct screen_ctx *sc = CCTOSC(cc);