style fix
This commit is contained in:
parent
10c82ed7fe
commit
2de1603cd2
@ -651,13 +651,10 @@ struct window_x11 *x_win_create(void)
|
|||||||
|
|
||||||
scr_n = DefaultScreen(xctx.dpy);
|
scr_n = DefaultScreen(xctx.dpy);
|
||||||
root = RootWindow(xctx.dpy, scr_n);
|
root = RootWindow(xctx.dpy, scr_n);
|
||||||
if (XMatchVisualInfo(xctx.dpy, scr_n, 32, TrueColor, &vi))
|
if (XMatchVisualInfo(xctx.dpy, scr_n, 32, TrueColor, &vi)) {
|
||||||
{
|
|
||||||
vis = vi.visual;
|
vis = vi.visual;
|
||||||
depth = vi.depth;
|
depth = vi.depth;
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
vis = DefaultVisual(xctx.dpy, scr_n);
|
vis = DefaultVisual(xctx.dpy, scr_n);
|
||||||
depth = DefaultDepth(xctx.dpy, scr_n);
|
depth = DefaultDepth(xctx.dpy, scr_n);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user