]> Dogcows Code - chaz/openbox/blobdiff - render/color.c
add sloppy focus
[chaz/openbox] / render / color.c
index 83c2aa373f51e1e8ef58339f4c316c90975f67fe..0cf7b226b2529d5fe4705ba455aa27199ce17130 100644 (file)
@@ -14,10 +14,11 @@ void color_allocate_gc(color_rgb *in)
 
 color_rgb *color_parse(char *colorname)
 {
+    XColor xcol;
+
     g_assert(colorname != NULL);
     // get rgb values from colorname                                  
 
-    XColor xcol;
     xcol.red = 0;
     xcol.green = 0;
     xcol.blue = 0;
@@ -49,6 +50,8 @@ color_rgb *color_new(int r, int g, int b)
     return NULL;
 }
 
+//XXX same color could be pointed to twice, this might have to be a refcount
+
 void color_free(color_rgb *c)
 {
     if (c->gc != None)
This page took 0.020102 seconds and 4 git commands to generate.