diff options
author | oga | 2008-04-16 13:35:37 +0000 |
---|---|---|
committer | oga | 2008-04-16 13:35:37 +0000 |
commit | 02211e5b89f2fd8670b150d7892f56d0f6dba351 (patch) | |
tree | 77e0463fa2987752c73fb0692e37685825dc2fd0 /client.c | |
parent | 026f72d2d3b6a4d7ec2de075c0497c219881c01a (diff) | |
download | cwm-02211e5b89f2fd8670b150d7892f56d0f6dba351.tar.gz |
Remove screen_infomsg(), nothing uses it.
ok okan.
Diffstat (limited to 'client.c')
-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); |