Close window button on Mac isn't working
formatt-c opened this issue · comments
When running a fenster app on Mac, the close window button will not close the app - based on Readme description this should lead to fenster_loop returning a negative value and thus trigger an end of the application. Can this behavior be added or is there a different way to catch such an event?
Should be related to here: https://github.com/zserge/fenster/blob/main/fenster.h#L107
I can confirm it does not work. I tried to debug it and apparently fenster_should_close
is never invoked:
https://github.com/zserge/fenster/blob/main/fenster.h#L89