mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
bug fixes, faq update, fix of wrong bug fix in actions.c etc
This commit is contained in:
@@ -926,10 +926,10 @@ wIconifyWindow(WWindow *wwin)
|
||||
PlaceIcon(wwin->screen_ptr, &wwin->icon_x, &wwin->icon_y);
|
||||
}
|
||||
wwin->icon = wIconCreate(wwin);
|
||||
|
||||
wwin->icon->mapped = 1;
|
||||
}
|
||||
|
||||
if (wwin->icon)
|
||||
wwin->icon->mapped = 1;
|
||||
wwin->flags.miniaturized = 1;
|
||||
wwin->flags.mapped = 0;
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user