summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-10 05:33:31 +0000
committerDana Jansens <danakj@orodu.net>2003-10-10 05:33:31 +0000
commit97ffa9e3e27bda2d1fc95b5389db6f49964f0a08 (patch)
tree71b702790b1ddc6857a05d03b0c66d488a5bae88
parent364bb1550abd7e586b3c148dfe2fb80eb73e48c9 (diff)
make a copy of the color
-rw-r--r--openbox/focus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 2db07b4d..59e07f5e 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -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;