aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBo Bakker <bobakk3r@gmail.com>2015-04-04 01:00:10 +0200
committerBo Bakker <bobakk3r@gmail.com>2015-04-04 01:00:10 +0200
commit1a331921873b5aef752ee199173eaa810e3d4293 (patch)
treeecbc00888f086f7824f2639db50f432c49f2e9c4
parentdc5b0110c9c20916766c5dcaa2c0eebff7883121 (diff)
downloadglutin-1a331921873b5aef752ee199173eaa810e3d4293.tar.gz
glutin-1a331921873b5aef752ee199173eaa810e3d4293.zip
Fix OS X window closing bug
-rw-r--r--src/cocoa/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cocoa/mod.rs b/src/cocoa/mod.rs
index ca9d888..2003e3d 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) {