summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2008-01-02 20:47:13 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2008-01-02 20:47:13 +0000
commite1984db087093f9e2add90e5c51f7cac226a9cd1 (patch)
tree3dae3dd1b0a029bb49aca57ad256581a07978126 /app
parent3123b339f0cf866ad301a5645a3a2dd1c6409972 (diff)
remove unused code
OK oga@
Diffstat (limited to 'app')
-rw-r--r--app/cwm/Makefile4
-rw-r--r--app/cwm/geographic.c53
2 files changed, 2 insertions, 55 deletions
diff --git a/app/cwm/Makefile b/app/cwm/Makefile
index ccb471bf2..3450cbf9b 100644
--- a/app/cwm/Makefile
+++ b/app/cwm/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2007/04/27 18:01:38 bernd Exp $
+# $OpenBSD: Makefile,v 1.2 2008/01/02 20:47:11 marc Exp $
.include <bsd.own.mk>
@@ -7,7 +7,7 @@ X11BASE?= /usr/X11R6
PROG= cwm
SRCS= calmwm.c draw.c screen.c xmalloc.c client.c grab.c search.c \
- util.c xutil.c conf.c input.c xevents.c group.c geographic.c \
+ util.c xutil.c conf.c input.c xevents.c group.c \
kbfunc.c cursor.c font.c
CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2
diff --git a/app/cwm/geographic.c b/app/cwm/geographic.c
deleted file mode 100644
index 24dad1a80..000000000
--- a/app/cwm/geographic.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * calmwm - the calm window manager
- *
- * Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org>
- * All rights reserved.
- *
- * $Id: geographic.c,v 1.2 2007/05/28 18:34:27 jasper Exp $
- */
-
-#include "headers.h"
-#include "calmwm.h"
-
-struct client_ctx *
-geographic_west(struct client_ctx *from_cc)
-{
-/* Window *wins, w0, w1; */
-/* struct screen_ctx *sc = screen_current(); */
-/* u_int nwins, i; */
-/* struct client_ctx *cc; */
-
- screen_updatestackingorder();
-
- return (NULL);
-}
-
-#if 0
-int
-_visible(struct client_ctx *this_cc)
-{
- int stacking = cc->stackingorder;
- struct client_ctx *cc;
-
- if (cc->flags & CLIENT_HIDDEN)
- return (0);
-
- TAILQ_FOREACH(cc, &Clientq, entry) {
- if (cc->flags & CLIENT_HIDDEN)
- continue;
-
- if (cc->stackingorder > stacking &&
- cc->geom.x <= this_cc->geom.x &&
- cc->geom.y <= this_cc->geom.y &&
- cc->geom.width > (this_cc->geom.width +
- (this_cc->geom.x - cc->geom.x) &&
-
-
- cc->geom.height > (this_cc->geom.height - cc->geom.height))
- return (0);
- }
-
- return (1);
-}
-#endif