XEP-0392: get background color from theme

So far we just used -1 (default color). Now we actually check whether
`bkgnd` is set in the theme file and use this if available.

Fix https://github.com/profanity-im/profanity/issues/1255
This commit is contained in:
Michael Vetter
2020-01-22 10:01:04 +01:00
parent dac6d088d0
commit 802df37926
3 changed files with 17 additions and 1 deletions

View File

@@ -155,5 +155,6 @@ theme_item_t theme_main_presence_attrs(const char *const presence);
theme_item_t theme_roster_unread_presence_attrs(const char *const presence);
theme_item_t theme_roster_active_presence_attrs(const char *const presence);
theme_item_t theme_roster_presence_attrs(const char *const presence);
char* theme_get_bkgnd(void);
#endif