]> Dogcows Code - chaz/openbox/blobdiff - openbox/prompt.c
use the hover and press button colors (this was a bug)
[chaz/openbox] / openbox / prompt.c
index 1c7e2261e25bc20f1ceae2e6dda97216f3751868..f391331c204c15366b9684174e3409b58427ea26 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);
This page took 0.025778 seconds and 4 git commands to generate.