tryphotino/photino.Native

RegisterWindowClosingHandler not working on linux (Debian)

Opened this issue · 3 comments

I succesfully ported small winform application as a multiplatform desktop app running under Photino.
With one exception - RegisterWindowClosingHandler works on the windows, but not works on the linux.
When I click on the X (close icon on the toolbar), „closing event“ is not fired and when I close the child window (with X), whole application is closed. On the windows it works as expected.

We will look into it as soon as we can find some time. Thanks for the report.

Thank you for that proposal. If you'd like to test out this suggestion and then wrap it in a pull request, we'd be happy to look at it and integrate this for our next build.