diff options
Diffstat (limited to 'src/mac.m')
-rw-r--r-- | src/mac.m | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1347,6 +1347,11 @@ puglSendEvent(PuglView* view, const PuglEvent* event) return PUGL_SUCCESS; } + if (event->type == PUGL_CLOSE) { + [view->impl->window close]; + return PUGL_SUCCESS; + } + return PUGL_UNSUPPORTED; } |