Give a read-only access to the glfw window.