mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 20:22:15 +00:00
wayland implementation (needs testing)
This commit is contained in:
parent
ec2c2f64e4
commit
d8dd2cef7c
@ -878,6 +878,13 @@ void _glfwPlatformDestroyWindow(_GLFWwindow* window)
|
||||
free(window->wl.monitors);
|
||||
}
|
||||
|
||||
char* _glfwPlatformGetWindowTitle(_GLFWwindow* window)
|
||||
{
|
||||
if(window->wl.title)
|
||||
return _glfw_strdup(window->wl.title);
|
||||
return calloc(1, sizeof(char));
|
||||
}
|
||||
|
||||
void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
|
||||
{
|
||||
if (window->wl.title)
|
||||
|
Loading…
Reference in New Issue
Block a user