[LWJGL] 3 - Windowed borderless

Is it possible to achieve a windowed borderless effect with LWJGL3? Something related to this: http://www.glfw.org/docs/latest/window_guide.html#window_windowed_full_screen ?

Yes. Just by using the same GLFW calls on the org.lwjgl.glfw.GLFW class.
LWJGL 3 includes full bindings to GLFW, so using LWJGL 3 basically means using GLFW.

Oh, good stuff. Got a working version of that now.

Changed

this.window = glfwCreateWindow(ww, wh, "Windowed borderless window", glfwGetPrimaryMonitor(), NULL);

to

this.window = glfwCreateWindow(ww, wh, "Windowed borderless window", NULL, NULL);

and added

glfwWindowHint(GLFW_DECORATED, GLFW_FALSE);

This line:

"GLFWwindow* window = glfwCreateWindow(mode->width, mode->height, "My Title", monitor, NULL);"

Made me think we needed to pass a monitor for this to be achieved properly, but apparently not?

Additionally, do people typically expect windowed borderless to stay above the taskbar when you click outside the window? They don’t, right? My taskbar pops back over the window when I click off the screen, but that is likely desired.