commit | 9883cb64f0d55770bf09d2a79f044ba2049ea3e2 | [log] [tgz] |
---|---|---|
author | Camilla Löwy <elmindreda@glfw.org> | Tue Mar 05 19:25:21 2019 +0100 |
committer | Camilla Löwy <elmindreda@glfw.org> | Tue Mar 05 20:03:29 2019 +0100 |
tree | 7a24d6272a51b70d5605b0a5c31ebd1c08fcf067 | |
parent | 4b20fb705bfd2b9a6fc31ecdc4acfcdf8e628eaf [diff] |
Cocoa: Disable shadow for transparent framebuffer
diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 4f3756b..6ee8a09 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m
@@ -868,6 +868,7 @@ if (fbconfig->transparent) { [window->ns.object setOpaque:NO]; + [window->ns.object setHasShadow:NO]; [window->ns.object setBackgroundColor:[NSColor clearColor]]; }