summaryrefslogtreecommitdiff
path: root/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'prompt.c')
-rw-r--r--prompt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/prompt.c b/prompt.c
index 5905de7..3d01ffb 100644
--- a/prompt.c
+++ b/prompt.c
@@ -126,10 +126,10 @@ promptRenderTitle (CompScreen *s, char *stringData)
tA.style |= TEXT_STYLE_BACKGROUND;
tA.backgroundHMargin = 10.0f;
tA.backgroundVMargin = 10.0f;
- tA.backgroundColor[0] = 0.0f;
- tA.backgroundColor[1] = 0.0f;
- tA.backgroundColor[2] = 0.0f;
- tA.backgroundColor[3] = 0.7f;
+ tA.backgroundColor[0] = promptGetTitleBackColorRed (s);
+ tA.backgroundColor[1] = promptGetTitleBackColorGreen (s);
+ tA.backgroundColor[2] = promptGetTitleBackColorBlue (s);
+ tA.backgroundColor[3] = promptGetTitleBackColorAlpha (s);
tA.family = "Sans";
tA.ellipsize = FALSE;