mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Formatting.
This commit is contained in:
parent
a508d21961
commit
87dfde34a9
|
@ -1518,11 +1518,11 @@ void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* 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,
|
XChangeProperty(_glfwLibrary.X11.display, window->X11.handle,
|
||||||
window->X11.wmName,
|
window->X11.wmName, type, 8,
|
||||||
XInternAtom(_glfwLibrary.X11.display, "UTF8_STRING", False),
|
PropModeReplace,
|
||||||
8, PropModeReplace, (unsigned char *) title,
|
(unsigned char*) title, strlen(title));
|
||||||
strlen(title));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user