From 055eec93ac495df814cc5585fd55712a6cac06c4 Mon Sep 17 00:00:00 2001 From: bernd Date: Fri, 27 Apr 2007 17:58:48 +0000 Subject: Initial import of cwm-3. tested by sturm@, ok matthieu@ --- draw.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 draw.c (limited to 'draw.c') diff --git a/draw.c b/draw.c new file mode 100644 index 0000000..672608d --- /dev/null +++ b/draw.c @@ -0,0 +1,21 @@ +/* + * calmwm - the calm window manager + * + * Copyright (c) 2004 Marius Aamodt Eriksen + * All rights reserved. + * + * $Id: draw.c,v 1.1.1.1 2007/04/27 17:58:48 bernd Exp $ + */ + +#include "headers.h" +#include "calmwm.h" + +void +draw_outline(struct client_ctx *cc) +{ + struct screen_ctx *sc = CCTOSC(cc); + + XDrawRectangle(G_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); +} -- cgit v1.2.3-2-gb3c3