From 02211e5b89f2fd8670b150d7892f56d0f6dba351 Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 16 Apr 2008 13:35:37 +0000 Subject: Remove screen_infomsg(), nothing uses it. ok okan. --- client.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 484778d..95faaeb 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: client.c,v 1.17 2008/04/15 20:24:41 oga Exp $ + * $Id: client.c,v 1.18 2008/04/16 13:35:37 oga Exp $ */ #include "headers.h" @@ -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); @@ -675,20 +675,6 @@ client__cycle(struct client_ctx *cc, return (cc != save ? cc : NULL); } -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) { -- cgit v1.2.3-2-gb3c3