• Jan Djärv's avatar
    DPI might get set to 0 if we saw some Xsettings, but not DPI. · 3c055b77
    Jan Djärv authored
    xsettings.c (struct xsettings): Add member seen.
    (parse_xft_settings): Update member seen with what we have read.
    Return 0 if Xft-settings have been parsed, 0 otherwise.
    (apply_xft_settings): Only update Xft settings with what member seen
    indicates as new.
    3c055b77
xsettings.c 18.1 KB