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:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user