Cleanup
This commit is contained in:
parent
5fd9709a8b
commit
154b01e8cf
@ -250,8 +250,6 @@ static char** parseUriList(char* text, int* count)
|
||||
static GLFWbool createWindow(_GLFWwindow* window,
|
||||
const _GLFWwndconfig* wndconfig)
|
||||
{
|
||||
unsigned long wamask;
|
||||
XSetWindowAttributes wa;
|
||||
XVisualInfo* vi = _GLFW_X11_CONTEXT_VISUAL;
|
||||
|
||||
// Every window needs a colormap
|
||||
@ -265,7 +263,8 @@ static GLFWbool createWindow(_GLFWwindow* window,
|
||||
|
||||
// Create the actual window
|
||||
{
|
||||
wamask = CWBorderPixel | CWColormap | CWEventMask;
|
||||
XSetWindowAttributes wa;
|
||||
const unsigned long wamask = CWBorderPixel | CWColormap | CWEventMask;
|
||||
|
||||
wa.colormap = window->x11.colormap;
|
||||
wa.border_pixel = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user