aboutsummaryrefslogtreecommitdiffstats
path: root/src/cocoa
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-04-04 07:23:28 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-04-04 07:23:28 +0200
commitb5a085343ef88e26624a76a75ae59c1c3d828cf5 (patch)
treeecbc00888f086f7824f2639db50f432c49f2e9c4 /src/cocoa
parentdc5b0110c9c20916766c5dcaa2c0eebff7883121 (diff)
parent1a331921873b5aef752ee199173eaa810e3d4293 (diff)
downloadglutin-b5a085343ef88e26624a76a75ae59c1c3d828cf5.tar.gz
glutin-b5a085343ef88e26624a76a75ae59c1c3d828cf5.zip
Merge pull request #357 from bobakker/master
Fix OS X window closing bug
Diffstat (limited to 'src/cocoa')
-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) {