Make fullscreen branch slightly clearer.

This commit is contained in:
Themaister 2012-10-05 15:17:25 +02:00
parent 6104ce2163
commit afc611131c

View File

@ -290,7 +290,7 @@ static bool gfx_ctx_set_video_mode(
g_win = XCreateWindow(g_dpy, RootWindow(g_dpy, vi->screen),
0, 0, width ? width : 200, height ? height : 200, 0,
vi->depth, InputOutput, vi->visual,
CWBorderPixel | CWColormap | CWEventMask | (fullscreen && true_full ? CWOverrideRedirect : 0), &swa);
CWBorderPixel | CWColormap | CWEventMask | (true_full ? CWOverrideRedirect : 0), &swa);
XSetWindowBackground(g_dpy, g_win, 0);
// GLES 2.0. Don't use for any other API.