diff --git a/src/mir_window.c b/src/mir_window.c index e21f319a..5c11ee4a 100644 --- a/src/mir_window.c +++ b/src/mir_window.c @@ -440,7 +440,9 @@ void _glfwPlatformSetWindowSize(_GLFWwindow* window, int width, int height) void _glfwPlatformGetWindowSize(_GLFWwindow* window, int* width, int* height) { + if (width) *width = window->mir.width; + if (height) *height = window->mir.height; }