Colormap cmap=XCreateColormap(display, root, vi->visual, AllocNone);
XSetWindowAttributes attr;
attr.colormap=cmap;
+ attr.override_redirect=options.fullscreen;
- Handle wnd=XCreateWindow(display, root, 0, 0, options.width, options.height, 0, vi->depth, InputOutput, vi->visual, CWColormap, &attr);
+ Handle wnd=XCreateWindow(display, root, 0, 0, options.width, options.height, 0, vi->depth, InputOutput, vi->visual, CWColormap|CWOverrideRedirect, &attr);
set_window(wnd);
glx_wnd=glXCreateWindow(display, config[0], wnd, 0);