about summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
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);