I’m implementing a UI library, but i want to draw my title bar, i find glfw don’t support undecorated resizeable window, if i use undecorated window, i could not resize my window.
You can resize and move an undecorated window using glfwGetWindowSize and glfwSetWindowPos. These can be used alongside your own UI to provide drag and resizing. For an example of this see the Dear ImGui Docking branch with viewports.
One problem with this is that you no longer receive OS resizing events such as the Windows WIN+LEFT for tiling the window on a part of the screen.
I am not sure of the status of the linked issue, but it appears the fork mentioned no longer exists. A newer version appears to be in progress here:
Yes, this is what I stated in my response - you can use glfwGetWindowSize and glfwSetWindowPos along with your own UI code to resize and position the window.