]> Dogcows Code - chaz/openbox/blobdiff - otk/rendercolor.cc
testing a gradient texture now
[chaz/openbox] / otk / rendercolor.cc
index 99dd3341bd25c606416e6c5e5f189bb780712bd1..1a95ded992c8063f5beb286271a6973695d81317 100644 (file)
@@ -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
This page took 0.023908 seconds and 4 git commands to generate.