mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
ssd: fix InactiveWindow font not working
This commit is contained in:
parent
baab35c469
commit
40b1f5407f
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ ssd_update_title(struct ssd *ssd)
|
||||||
dstate = active ? &state->active : &state->inactive;
|
dstate = active ? &state->active : &state->inactive;
|
||||||
text_color = theme->window[active].label_text_color;
|
text_color = theme->window[active].label_text_color;
|
||||||
bg_color = theme->window[active].title_bg_color;
|
bg_color = theme->window[active].title_bg_color;
|
||||||
font = &rc.font_activewindow;
|
font = active ? &rc.font_activewindow : &rc.font_inactivewindow;
|
||||||
|
|
||||||
if (title_bg_width <= 0) {
|
if (title_bg_width <= 0) {
|
||||||
dstate->truncated = true;
|
dstate->truncated = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue