How to get width, height of maximum window?

Hello, Please advice me, how to get width, height of maximum window( not fullscreen mode) ?
I create window and maximize( [glfwMaximizeWindow]) it, but glfwSetWindowSize return old width, height.

Hi @yuriykz,

Welcome to the GLFW forum.

You should be able to get the width and height of a maximized window with glfwGetWindowSize, or by using the window resize callback.

If that’s not working for you then let me know what version of GLFW you are using and what OS you are using (and if on Mac OSX if you are on an Intel or Apple M* processor).