966 |
attribs.override_redirect = g_fullscreen; |
attribs.override_redirect = g_fullscreen; |
967 |
attribs.colormap = g_xcolmap; |
attribs.colormap = g_xcolmap; |
968 |
|
|
969 |
g_wnd = XCreateWindow(g_display, RootWindowOfScreen(g_screen), g_xpos, g_ypos, wndwidth, wndheight, |
g_wnd = XCreateWindow(g_display, RootWindowOfScreen(g_screen), g_xpos, g_ypos, wndwidth, |
970 |
0, g_depth, InputOutput, g_visual, |
wndheight, 0, g_depth, InputOutput, g_visual, |
971 |
CWBackPixel | CWBackingStore | CWOverrideRedirect | |
CWBackPixel | CWBackingStore | CWOverrideRedirect | CWColormap | |
972 |
CWColormap | CWBorderPixel, &attribs); |
CWBorderPixel, &attribs); |
973 |
|
|
974 |
if (g_gc == NULL) |
if (g_gc == NULL) |
975 |
g_gc = XCreateGC(g_display, g_wnd, 0, NULL); |
g_gc = XCreateGC(g_display, g_wnd, 0, NULL); |