mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
theme: handle border.color for backward compatibility
This commit is contained in:
parent
2143f4bf19
commit
4738e26d15
2 changed files with 9 additions and 0 deletions
|
|
@ -137,6 +137,11 @@ entry(struct theme *theme, const char *key, const char *value)
|
|||
if (match(key, "window.inactive.border.color")) {
|
||||
parse_hexstr(value, theme->window_inactive_border_color);
|
||||
}
|
||||
/* border.color is obsolete, but handled for backward compatibility */
|
||||
if (match(key, "border.color")) {
|
||||
parse_hexstr(value, theme->window_active_border_color);
|
||||
parse_hexstr(value, theme->window_inactive_border_color);
|
||||
}
|
||||
|
||||
if (match(key, "window.active.title.bg.color")) {
|
||||
parse_hexstr(value, theme->window_active_title_bg_color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue