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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user