summary refs log tree commit diff
path: root/draw.c
blob: 50a689157266fea632ff01b8d693fddf1ff2bdf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * 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(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);
}