From 1a331921873b5aef752ee199173eaa810e3d4293 Mon Sep 17 00:00:00 2001 From: Bo Bakker Date: Sat, 4 Apr 2015 01:00:10 +0200 Subject: [PATCH] Fix OS X window closing bug --- src/cocoa/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cocoa/mod.rs b/src/cocoa/mod.rs index ca9d888b..2003e3d1 100644 --- a/src/cocoa/mod.rs +++ b/src/cocoa/mod.rs @@ -75,7 +75,7 @@ impl WindowDelegate { let state = state as *mut DelegateState; (*state).is_closed = true; } - NO + YES } extern fn window_did_resize(this: &Object, _: Sel, _: id) {