glfw/glfw

Raise a window?

cblc opened this issue · 1 comments

cblc commented

Is there any function for raising a window? Yes, I know about the GLFW_FLOATING window hint, but that's permanent, and I want just to raise a window on top of the stack without keeping it there permanently. This feature is mostly useful for apps with several windows (imagine a window in your app requests user input but it's below another window from your app).

Also, I know that raising a window programmatically is usually something that an OS can ignore, but most OSs grant the request, AFAIK.

cblc commented

I found it in the docs. It's the glfwFocusWindow() function.