revery-ui / esy-sdl2

Esy-enabled build for SDL2
zlib License
5 stars 9 forks source link

Remove default close action #8

Closed bryphe closed 4 years ago

bryphe commented 4 years ago

This removes the default menu item to close a window, with the shortcut Cmd+W. This gives us the opportunity to handle the event in userspace.

Hopefully, once we have tighter menu integration in Revery - we can just build a custom menu there w/o needing to modify SDL2.

Related: onivim/oni2#1169 onivim/oni2#992