Undecorated window with shadow


Is there any way of making an undecorated window with shadow in OSX?

I’ve seen some references in the code to setHasShadow:, but I haven’t seen a way of changing this.

Thanks in advance

The standard GLFW API only exposes cross platform functionality, and window shadows don’t exist on all platforms.

To access platform specifics there exists a native API, so you might be able to get the NSWindow and change the hasShadow property. Note that I’m not an OSX expert so you may need to check out how to do that elsewhere, the docs for NSWindow hasShadow are here. Doing a little digging it does seem that under OSX getting non decorated windows to have a shadow might be tricky,