diff options
author | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-06-02 11:56:46 +0200 |
---|---|---|
committer | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-06-02 11:56:46 +0200 |
commit | 61ef399092ee4f27629eb39da8c75054de4e8fcf (patch) | |
tree | df2da9fab09d670943ba132419b61d4ff6c5e0f6 /xbattext.c | |
parent | 595466e8038e8b8e0e042c38eb092547ed0195a4 (diff) | |
download | xbattext-61ef399092ee4f27629eb39da8c75054de4e8fcf.tar.gz |
Set normal font when charging if no charging font is specified
Diffstat (limited to 'xbattext.c')
-rw-r--r-- | xbattext.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -144,6 +144,9 @@ update(XtPointer client_data, XtIntervalId *t) if (res.charge_font_list != NULL) { XtSetArg(wargs[i], XmNfontList, res.charge_font_list); i++; + } else if (res.font_list != NULL) { + XtSetArg(wargs[i], XmNfontList, res.font_list); + i++; } goto set; } |