diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-01-03 01:58:17 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-01-03 01:58:17 +0000 |
commit | 26b47693b3390f90e5929e35168ee8d5231a5b19 (patch) | |
tree | 8a0d94aeece4182ad192559b8350f6caa7a6a9bb | |
parent | 03f43472820e1c431395e378e68baf6cba9c04e8 (diff) |
Kill draw.c, nothing uses the code in it.
More dead code removals to come.
ok marc@
-rw-r--r-- | app/cwm/Makefile | 4 | ||||
-rw-r--r-- | app/cwm/calmwm.h | 4 | ||||
-rw-r--r-- | app/cwm/draw.c | 21 |
3 files changed, 3 insertions, 26 deletions
diff --git a/app/cwm/Makefile b/app/cwm/Makefile index 3450cbf9b..0e2a4d69c 100644 --- a/app/cwm/Makefile +++ b/app/cwm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2008/01/02 20:47:11 marc Exp $ +# $OpenBSD: Makefile,v 1.3 2008/01/03 01:58:16 oga Exp $ .include <bsd.own.mk> @@ -6,7 +6,7 @@ X11BASE?= /usr/X11R6 PROG= cwm -SRCS= calmwm.c draw.c screen.c xmalloc.c client.c grab.c search.c \ +SRCS= calmwm.c screen.c xmalloc.c client.c grab.c search.c \ util.c xutil.c conf.c input.c xevents.c group.c \ kbfunc.c cursor.c font.c diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index 5b011647e..6288f45ba 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/calmwm.h @@ -4,7 +4,7 @@ * Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org> * All rights reserved. * - * $Id: calmwm.h,v 1.14 2008/01/02 20:54:32 marc Exp $ + * $Id: calmwm.h,v 1.15 2008/01/03 01:58:16 oga Exp $ */ #ifndef _CALMWM_H_ @@ -446,8 +446,6 @@ void kbfunc_ssh(struct client_ctx *, void *); void kbfunc_term(struct client_ctx *cc, void *arg); void kbfunc_lock(struct client_ctx *cc, void *arg); -void draw_outline(struct client_ctx *); - void search_init(struct screen_ctx *); struct menu *search_start(struct menu_q *menuq, void (*match)(struct menu_q *, struct menu_q *, char *), diff --git a/app/cwm/draw.c b/app/cwm/draw.c deleted file mode 100644 index 1732a87a8..000000000 --- a/app/cwm/draw.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * calmwm - the calm window manager - * - * Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org> - * All rights reserved. - * - * $Id: draw.c,v 1.2 2007/05/28 18:34:27 jasper Exp $ - */ - -#include "headers.h" -#include "calmwm.h" - -void -draw_outline(struct client_ctx *cc) -{ - struct screen_ctx *sc = CCTOSC(cc); - - XDrawRectangle(X_Dpy, sc->rootwin, sc->invgc, - cc->geom.x - cc->bwidth, cc->geom.y - cc->bwidth, - cc->geom.width + cc->bwidth, cc->geom.height + cc->bwidth); -} |