revery-ui / revery

:zap: Native, high-performance, cross-platform desktop apps - built with Reason!
https://www.outrunlabs.com/revery/
MIT License
8.06k stars 196 forks source link

feat(window): add function to set unsaved work #1036

Closed zbaylin closed 3 years ago

zbaylin commented 3 years ago

This adds a function in a newly created Revery_Native.Window and in Revery_Core.Window to mark a window as having unsaved work. All this means as of now is that on macOS, the exit button has a little dot in it, i.e.: image This would be a nice little thing to add to Oni, I think 😃