mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
22 lines
445 B
C
22 lines
445 B
C
/*
|
|
* 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);
|
|
}
|