Remove a bunch of unused variables and incorrect comments.
"ok with me" okan@.
This commit is contained in:
9
calmwm.c
9
calmwm.c
@@ -149,7 +149,7 @@ void
|
||||
x_setupscreen(struct screen_ctx *sc, u_int which)
|
||||
{
|
||||
XColor tmp;
|
||||
XGCValues gv, gv1/* , gv2 */;
|
||||
XGCValues gv;
|
||||
Window *wins, w0, w1;
|
||||
u_int nwins, i = 0;
|
||||
XWindowAttributes winattr;
|
||||
@@ -209,13 +209,6 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
|
||||
GCForeground|GCBackground|GCFunction|
|
||||
GCLineWidth|GCSubwindowMode, &gv);
|
||||
|
||||
gv1.function = GXinvert;
|
||||
gv1.subwindow_mode = IncludeInferiors;
|
||||
gv1.line_width = 1;
|
||||
|
||||
sc->invgc = XCreateGC(X_Dpy, sc->rootwin,
|
||||
GCFunction|GCSubwindowMode|GCLineWidth, &gv1);
|
||||
|
||||
font_init(sc);
|
||||
DefaultFont = font_getx(sc, DefaultFontName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user