From 9883cb64f0d55770bf09d2a79f044ba2049ea3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Tue, 5 Mar 2019 19:25:21 +0100 Subject: [PATCH] Cocoa: Disable shadow for transparent framebuffer --- src/cocoa_window.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 4f3756ba..6ee8a097 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -868,6 +868,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window, if (fbconfig->transparent) { [window->ns.object setOpaque:NO]; + [window->ns.object setHasShadow:NO]; [window->ns.object setBackgroundColor:[NSColor clearColor]]; }