Ewmh: Add _WMFS_FONT property for external information about font

This commit is contained in:
Martin Duquesnoy
2010-11-26 21:32:28 +01:00
parent daeffb324e
commit 719654fcbc
3 changed files with 6 additions and 0 deletions

View File

@@ -91,6 +91,10 @@ init_font(void)
font = XftFontOpenName(dpy, SCREEN, "sans-10");
}
/* Set font in _WMFS_FONT for eventual status tools */
XChangeProperty(dpy, ROOT, net_atom[wmfs_font], net_atom[utf8_string], 8,
PropModeReplace, (uchar*)&conf.font, strlen(conf.font));
return;
}