1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-06 08:15:56 +01:00

added Font Configuration

updated some outdated default config files
This commit is contained in:
kojima
2004-10-13 23:39:29 +00:00
parent 3088277b1e
commit 3ed1d3e25c
13 changed files with 758 additions and 37 deletions

View File

@@ -136,9 +136,6 @@ WMCreateFont(WMScreen *scrPtr, char *fontName)
font->screen = scrPtr;
// remove
printf("WMCreateFont: %s\n", fname);
if (fname[0] == '-') {
// Backward compat thing. Remove in a later version
font->font = XftFontOpenXlfd(display, scrPtr->screen, fname);

View File

@@ -54,8 +54,8 @@ WMCreateMenuItem(void)
{
WMMenuItem *item;
item = wmalloc(sizeof(WMMenuItem));
memset(item, 0, sizeof(WMMenuItem));
item = wmalloc(sizeof(MenuItem));
memset(item, 0, sizeof(MenuItem));
item->flags.enabled = 1;