window.inactive.label.text.color should default to white.
Currently it defaults to itself, which is NULL, and causes a crash.
The spec http://openbox.org/wiki/Help:Themes#window.inactive.label.text.color
claims that the default is white.
In 98b02c6b60
we had this property being read
twice, once with the NULL backup and once with white. It seems that we kept
the wrong one, so just switching this to white now.
This commit is contained in:
parent
f3873cac4a
commit
aa1fe695a5
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
|
||||||
RrColorNew(inst, 0x0, 0x0, 0x0));
|
RrColorNew(inst, 0x0, 0x0, 0x0));
|
||||||
|
|
||||||
READ_COLOR("window.inactive.label.text.color", theme->title_unfocused_color,
|
READ_COLOR("window.inactive.label.text.color", theme->title_unfocused_color,
|
||||||
RrColorCopy(theme->title_unfocused_color));
|
RrColorNew(inst, 0xff, 0xff, 0xff));
|
||||||
|
|
||||||
READ_COLOR_("osd.active.label.text.color",
|
READ_COLOR_("osd.active.label.text.color",
|
||||||
"osd.label.text.color",
|
"osd.label.text.color",
|
||||||
|
|
Loading…
Reference in a new issue