]> Dogcows Code - chaz/openbox/blobdiff - render/color.c
grow to edge is a move and a resize, oops
[chaz/openbox] / render / color.c
index 37ef5532dd952b63cc8872e24ea611d2fc5af2b8..f791b9c48582a16d2fe5581c9d9e9a5603824603 100644 (file)
@@ -259,3 +259,11 @@ gulong RrColorPixel(const RrColor *c)
 {
     return c->pixel;
 }
+
+GC RrColorGC(RrColor *c) /* XXX make this const RrColor* when the GCs are in
+                            a cache.. if possible? */
+{
+    if (!c->gc)
+        RrColorAllocateGC(c);
+    return c->gc;
+}
This page took 0.021227 seconds and 4 git commands to generate.