Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
At least on macOS, we need to set the GLFW_FOCUS_ON_SHOW hint (GFLW 3…
….3+) to be able to move freely the new GLFW window. Otherwise, when the GLFW window is created for the new viewport, this one takes the focus and it is not more possible to move it without a second click inside. NOTE: With this code, the main viewport keeps the focus. It is possible to give the focus to the new viewport when the user release the mouse button but that's not related to the problem here.
- Loading branch information