Skip to content

Commit a471bc1

Browse files
committed
fixup! Add support for nwWindow.setShadow(bool) on Mac
1 parent 8a37f6d commit a471bc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/nw_window_api.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ class NwCurrentWindowInternalSetShadowFunction : public AsyncExtensionFunction {
126126

127127
protected:
128128
~NwCurrentWindowInternalSetShadowFunction() override {}
129+
#if defined(OS_MACOSX)
129130
void SetShadowOnWindow(NSWindow *window, bool shadow);
131+
#endif
130132

131133
// ExtensionFunction:
132134
bool RunAsync() override;

0 commit comments

Comments
 (0)