on MacOS, if you set glfwWindowHint(GLFW_DECORATED, false); // hide titlebar
then glfwIconifyWindow and glfwMaximizeWindow do nothing.
Any one have a workaround?
This is definitely a bug, thank you!
As a workaround until this is fixed you can resize and move the window manually to the area returned by glfwGetMonitorWorkarea of whatever monitor contains the center of the window.
This was on MacOS 10.14
I should add that was in GLFW 3.1.x (IIRC) and that in GLFW 3.3.2 the glfwIconifyWIndow does seem to work as expected and for glfwMaximizeWindow, I was able to use glfwSetWindowAttrib(win->rawWindow, GLFW_DECORATED, true); to temporarily and then call it, to workaround it for now.
I wish there was a workaround for GLFW 3.1.x because I still target MacOS 10.6 support
Also noticed there's no resize bars either... would be nice to be able to fix those as well