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,
|
static GLFWbool createWindow(_GLFWwindow* window,
|
||||||
const _GLFWwndconfig* wndconfig)
|
const _GLFWwndconfig* wndconfig)
|
||||||
{
|
{
|
||||||
unsigned long wamask;
|
|
||||||
XSetWindowAttributes wa;
|
|
||||||
XVisualInfo* vi = _GLFW_X11_CONTEXT_VISUAL;
|
XVisualInfo* vi = _GLFW_X11_CONTEXT_VISUAL;
|
||||||
|
|
||||||
// Every window needs a colormap
|
// Every window needs a colormap
|
||||||
@ -265,7 +263,8 @@ static GLFWbool createWindow(_GLFWwindow* window,
|
|||||||
|
|
||||||
// Create the actual window
|
// Create the actual window
|
||||||
{
|
{
|
||||||
wamask = CWBorderPixel | CWColormap | CWEventMask;
|
XSetWindowAttributes wa;
|
||||||
|
const unsigned long wamask = CWBorderPixel | CWColormap | CWEventMask;
|
||||||
|
|
||||||
wa.colormap = window->x11.colormap;
|
wa.colormap = window->x11.colormap;
|
||||||
wa.border_pixel = 0;
|
wa.border_pixel = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user