X11: Cleanup

This is technically valid but misleading and may inspire future bugs
like the one fixed by 0b652a44d2.
This commit is contained in:
Camilla Löwy 2019-12-17 02:17:31 +01:00
parent 4e70c95aa3
commit 73a8ebb691

View File

@ -682,7 +682,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
{
XChangeProperty(_glfw.x11.display, window->x11.handle,
_glfw.x11.NET_WM_STATE, XA_ATOM, 32,
PropModeReplace, (unsigned char*) &states, count);
PropModeReplace, (unsigned char*) states, count);
}
}