]> Dogcows Code - chaz/openbox/commitdiff
make a copy of the color
authorDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 05:33:31 +0000 (05:33 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 05:33:31 +0000 (05:33 +0000)
openbox/focus.c

index 2db07b4d9125c4339a2d30f1146071dfd9b2a6b7..59e07f5e19ee2659206a78d947befa1f3ca3723c 100644 (file)
@@ -113,7 +113,8 @@ void focus_startup(gboolean reconfig)
         a_focus_indicator = RrAppearanceNew(ob_rr_inst, 4);
         a_focus_indicator->surface.grad = RR_SURFACE_SOLID;
         a_focus_indicator->surface.relief = RR_RELIEF_FLAT;
-        a_focus_indicator->surface.primary = color_black;
+        a_focus_indicator->surface.primary = RrColorNew(ob_rr_inst,
+                                                        0, 0, 0);
         a_focus_indicator->texture[0].type = RR_TEXTURE_LINE_ART;
         a_focus_indicator->texture[0].data.lineart.color = color_white;
         a_focus_indicator->texture[1].type = RR_TEXTURE_LINE_ART;
This page took 0.022733 seconds and 4 git commands to generate.