How to make undecorated window resizable?

Good afternoon!

I want to know how I can make undecorated window resizable. I set glfwWindowHint(GLFW_DECORATED, GLFW_FALSE) and am trying to make it so that the window size can be changed like a decorated window. Could you please provide a small code example of how this can be done using the GLFW API and without third-party libraries/or code modification?

You can resize an undecorated window in GLFW with gflwSetWindowSize.

However since there are no decorations you will have to implement a window resize handle yourself. This can be done by detecting when the mouse button is down in a given area of your window, and resizing the window as it moves.