Window closed callback listener

hi

Could you maybe make LWJGL provide a listener to be notified of a window closed event? I mean, when I’m not working in fullscreen exclusive mode, I would like to have the possibility to react on a click on the X-button of the window.

Marvin

Silly question: how would this be different from polling Display.isCloseRequested()? (Other than the trivial event vs. polling differences).

Stupid me :). Thanks for the hint.

Marvin