Use the DPI setting within the i3-config-wizard and i3-nagbar (#2585)

This commit is contained in:
mihaicmn 2016-11-28 23:07:45 +02:00 committed by Michael Stapelberg
parent 633a9f7b14
commit f25c3d5e77
2 changed files with 2 additions and 0 deletions

View File

@ -854,6 +854,7 @@ int main(int argc, char *argv[]) {
xcb_numlock_mask = get_mod_mask_for(XCB_NUM_LOCK, symbols, modmap_reply);
init_dpi();
font = load_font(pattern, true);
bold_font = load_font(patternbold, true);

View File

@ -468,6 +468,7 @@ int main(int argc, char *argv[]) {
color_border_bottom = draw_util_hex_to_color("#ab7100");
}
init_dpi();
font = load_font(pattern, true);
set_font(&font);