esc on windows sometimes sets the window close flag to true

Started by jakethesnake, January 15, 2020, 17:07:55

Previous topic - Next topic

jakethesnake

I have a weird problem that I think might not be lwjgl related, but hoping someone might have some info on it.

As the title say, I have users of my lwjgl app report that the app closes itself when pressing "esc". This is as far as I know only on windows 10 and when the window is windowed. I've found that the issue is that glfwWindowShouldClose returns true. They are not aware that they have tempered with windows shortcuts. I expect that alt + F4, or pressing the "x" on the window will set the close flag, but not esc.

Does anyone know anything about this?