On 23/06/26 10:13PM, entoreor wrote:
Nathan wrote: ... Make the window not able to be resized. This can be done by setting the GLFW_RESIZABLE hint or attribute to GLFW_FALSE. I'm not sure how dwm or other window managers handle it, but i3 at least will respect it by putting the window into floating mode automatically if it is spawned with GLFW_RESIZABLE GLFW_FALSE.
Hello, I tried setting `glfwSetWindowAttrib(window, GLFW_RESIZABLE, GLFW_FALSE)` but DWM refuses to float it :(.
The window can still be forced into tiling mode or made fullscreen if the user presses the right shortcut though, which will cause the window to be resized anyway. Many applications don't respond well to this.
True, The size isn't preserved when toggling floating, meaning the window will be the same size as before the float.
Thank you. ~mutex