title: Custom NSWindow with a custom shadow
body: <p>I have a NSWindow subclass, looking like this</p>
  
  <p><img src="https://i.stack.imgur.com/xvcME.png" alt="enter image description here"></p>
  
  <p>The thing that bothers me is that I would like to alter the shadow.
  Over a standard window, like Xcode right here, the contrast is a little weak.</p>
  
  <p>So I'd like to apply a stronger <code>NSShadow</code> to it.</p>
  
  <p>I found this here:</p>
  
  <p><a href="https://stackoverflow.com/questions/4861784/nswindow-with-custom-shadow">NSWindow with custom shadow</a></p>
  
  <p>Apparently, you shouldn't, because the UI should mainly be handled by the OS.
  But the window is already completely custom, so I figured it would be ok.</p>
  
  <p>How can I achieve this?</p>
  
  <hr>
  
  <h2>Edit</h2>
  
  <p>I forgot to mention, I know I could just redraw the <code>NSWindow</code>, but I try to avoid this.</p>