857d1a8dab
"looks good" pedro@, ok matthieu@
22 lines
491 B
C
22 lines
491 B
C
/*
|
|
* calmwm - the calm window manager
|
|
*
|
|
* Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org>
|
|
* All rights reserved.
|
|
*
|
|
* $Id: draw.c,v 1.2 2007/05/28 18:34:27 jasper Exp $
|
|
*/
|
|
|
|
#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);
|
|
}
|