1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Formatting.

This commit is contained in:
Camilla Berglund 2012-02-01 14:43:42 +01:00
parent a508d21961
commit 87dfde34a9

View File

@ -1516,13 +1516,13 @@ void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
XStoreName(_glfwLibrary.X11.display, window->X11.handle, title);
XSetIconName(_glfwLibrary.X11.display, window->X11.handle, title);
if(window->X11.wmName != None)
if (window->X11.wmName != None)
{
Atom type = XInternAtom(_glfwLibrary.X11.display, "UTF8_STRING", False);
XChangeProperty(_glfwLibrary.X11.display, window->X11.handle,
window->X11.wmName,
XInternAtom(_glfwLibrary.X11.display, "UTF8_STRING", False),
8, PropModeReplace, (unsigned char *) title,
strlen(title));
window->X11.wmName, type, 8,
PropModeReplace,
(unsigned char*) title, strlen(title));
}
}