mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
when selfont is configured, make sure we continue and configure the rest
of the screen (quick fix); discovered the hard way by Rodrigo Mosconi.
This commit is contained in:
parent
234b8214df
commit
7004700ce0
4
conf.c
4
conf.c
@ -121,7 +121,7 @@ conf_screen(struct screen_ctx *sc)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (i == CWM_COLOR_MAX)
|
if (i == CWM_COLOR_MAX)
|
||||||
return;
|
goto out;
|
||||||
|
|
||||||
xu_xorcolor(sc->xftcolor[CWM_COLOR_MENU_BG],
|
xu_xorcolor(sc->xftcolor[CWM_COLOR_MENU_BG],
|
||||||
sc->xftcolor[CWM_COLOR_MENU_FG], &xc);
|
sc->xftcolor[CWM_COLOR_MENU_FG], &xc);
|
||||||
@ -129,7 +129,7 @@ conf_screen(struct screen_ctx *sc)
|
|||||||
if (!XftColorAllocValue(X_Dpy, sc->visual, sc->colormap,
|
if (!XftColorAllocValue(X_Dpy, sc->visual, sc->colormap,
|
||||||
&xc.color, &sc->xftcolor[CWM_COLOR_MENU_FONT_SEL]))
|
&xc.color, &sc->xftcolor[CWM_COLOR_MENU_FONT_SEL]))
|
||||||
warnx("XftColorAllocValue: '%s'", Conf.color[i]);
|
warnx("XftColorAllocValue: '%s'", Conf.color[i]);
|
||||||
|
out:
|
||||||
sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1,
|
sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1,
|
||||||
Conf.bwidth,
|
Conf.bwidth,
|
||||||
sc->xftcolor[CWM_COLOR_MENU_FG].pixel,
|
sc->xftcolor[CWM_COLOR_MENU_FG].pixel,
|
||||||
|
Loading…
Reference in New Issue
Block a user