Commit e949b328 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix behaviour when closing black main window in native fullscreen (fixes #9566)

parent d475c5fd
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
if (!([self styleMask] & NSTitledWindowMask)) { if (!([self styleMask] & NSTitledWindowMask)) {
[[NSNotificationCenter defaultCenter] postNotificationName:NSWindowWillCloseNotification object:self]; [[NSNotificationCenter defaultCenter] postNotificationName:NSWindowWillCloseNotification object:self];
[self orderOut: sender]; [self close];
} else } else
[super performClose: sender]; [super performClose: sender];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment