From: Dana Jansens Date: Mon, 20 Jan 2003 17:07:42 +0000 (+0000) Subject: specify projecting cap style X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f329167e4cc2715bb3baaac249433c64cb46d22d;p=chaz%2Fopenbox specify projecting cap style --- diff --git a/otk/rendercolor.cc b/otk/rendercolor.cc index 99dd3341..1a95ded9 100644 --- a/otk/rendercolor.cc +++ b/otk/rendercolor.cc @@ -57,7 +57,9 @@ RenderColor::RenderColor(int screen, unsigned char red, } gcv.foreground = xcol.pixel; - _gc = XCreateGC(**display, info->rootWindow(), GCForeground, &gcv); + gcv.cap_style = CapProjecting; + _gc = XCreateGC(**display, info->rootWindow(), + GCForeground | GCCapStyle, &gcv); assert(_gc); // insert into the cache