use the hover and press button colors (this was a bug)
authorDana Jansens <danakj@orodu.net>
Thu, 7 Feb 2008 06:36:05 +0000 (01:36 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 14 Feb 2008 19:24:37 +0000 (14:24 -0500)
openbox/prompt.c

index 1c7e226..f391331 100644 (file)
@@ -48,8 +48,8 @@ void prompt_startup(gboolean reconfig)
     prompt_a_press = RrAppearanceCopy(ob_rr_theme->a_focused_pressed_close);
 
     c_button = prompt_a_button->texture[0].data.mask.color;
-    c_focus = prompt_a_button->texture[0].data.mask.color;
-    c_press = prompt_a_button->texture[0].data.mask.color;
+    c_focus = prompt_a_focus->texture[0].data.mask.color;
+    c_press = prompt_a_press->texture[0].data.mask.color;
 
     RrAppearanceRemoveTextures(prompt_a_button);
     RrAppearanceRemoveTextures(prompt_a_focus);