diff options
author | oga <oga> | 2008-01-03 01:58:16 +0000 |
---|---|---|
committer | oga <oga> | 2008-01-03 01:58:16 +0000 |
commit | 847191cff3d72264f815738f045ff749d6d8ea18 (patch) | |
tree | bb8bd334baa555dabcaafcbc27210017417551c2 | |
parent | f82afee4e2368cdfdaab0c8151de1f4a37371b5f (diff) | |
download | cwm-847191cff3d72264f815738f045ff749d6d8ea18.tar.gz cwm-847191cff3d72264f815738f045ff749d6d8ea18.tar.xz cwm-847191cff3d72264f815738f045ff749d6d8ea18.zip |
Kill draw.c, nothing uses the code in it.
More dead code removals to come. ok marc@
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | calmwm.h | 2 | ||||
-rw-r--r-- | draw.c | 21 |
3 files changed, 1 insertions, 24 deletions
diff --git a/Makefile b/Makefile index 91c464c..7ac43c9 100644 --- a/Makefile +++ b/Makefile @@ -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/calmwm.h b/calmwm.h index 2d38e71..67a2a80 100644 --- a/calmwm.h +++ b/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/draw.c b/draw.c deleted file mode 100644 index 2e2f2aa..0000000 --- a/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$ - */ - -#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); -} |