2007-04-27 11:58:48 -06:00
|
|
|
/*
|
|
|
|
* calmwm - the calm window manager
|
|
|
|
*
|
|
|
|
* Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org>
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
2007-05-28 12:34:27 -06:00
|
|
|
* $Id: draw.c,v 1.2 2007/05/28 18:34:27 jasper Exp $
|
2007-04-27 11:58:48 -06:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "headers.h"
|
|
|
|
#include "calmwm.h"
|
|
|
|
|
|
|
|
void
|
|
|
|
draw_outline(struct client_ctx *cc)
|
|
|
|
{
|
|
|
|
struct screen_ctx *sc = CCTOSC(cc);
|
|
|
|
|
2007-05-28 12:34:27 -06:00
|
|
|
XDrawRectangle(X_Dpy, sc->rootwin, sc->invgc,
|
2007-04-27 11:58:48 -06:00
|
|
|
cc->geom.x - cc->bwidth, cc->geom.y - cc->bwidth,
|
|
|
|
cc->geom.width + cc->bwidth, cc->geom.height + cc->bwidth);
|
|
|
|
}
|