Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle WM_PROTOCOLS WM_DELETE #36

Open
sidorares opened this issue Dec 7, 2018 · 0 comments
Open

Handle WM_PROTOCOLS WM_DELETE #36

sidorares opened this issue Dec 7, 2018 · 0 comments

Comments

@sidorares
Copy link
Owner

sidorares commented Dec 7, 2018

https://tronche.com/gui/x/icccm/sec-4.html#s-4.2.8.1

there is already setActions() method https://github.com/sidorares/ntk/blob/b29efb02a9c1a10aa3dcd54673088f353f45802b/lib/window.js#L297but no easy way to set "close window request" handler

( what would be good name for the event? "onBeforeUnload" ? )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant