diff options
Diffstat (limited to '')
-rw-r--r-- | client.c | 18 |
1 files changed, 2 insertions, 16 deletions
@@ -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); @@ -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); |