1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

bug fixes, faq update, fix of wrong bug fix in actions.c etc

This commit is contained in:
kojima
1999-04-21 00:16:13 +00:00
parent cef3b29d94
commit 2a19d45517
7 changed files with 131 additions and 52 deletions

View File

@@ -151,6 +151,7 @@ static int setIconTitleFont();
static int setIconTitleColor();
static int setIconTitleBack();
static int setDisplayFont();
static int setLargeDisplayFont();
static int setWTitleColor();
static int setFTitleBack();
static int setPTitleBack();
@@ -521,6 +522,9 @@ WDefaultEntry optionList[] = {
{"DisplayFont", DEF_INFO_TEXT_FONT, NULL,
NULL, getFont, setDisplayFont
},
{"LargeDisplayFont" DEF_WORKSPACE_NAME_FONT, NULL,
NULL, getFont, setLargeDisplayFont
},
{"HighlightColor", "white", NULL,
NULL, getColor, setHightlight
},
@@ -2505,6 +2509,19 @@ setDisplayFont(WScreen *scr, WDefaultEntry *entry, WFont *font, void *foo)
}
static int
setLargeDisplayFont(WScreen *scr, WDefaultEntry *entry, WFont *font, void *foo)
{
if (scr->workspace_name_font) {
wFreeFont(scr->workspace_name_font);
}
scr->workspace_name_font = font;
return 0;
}
static int
setHightlight(WScreen *scr, WDefaultEntry *entry, XColor *color, void *foo)
{