summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/window.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa/window.m')
-rw-r--r--video/out/cocoa/window.m8
1 files changed, 7 insertions, 1 deletions
diff --git a/video/out/cocoa/window.m b/video/out/cocoa/window.m
index e760fd184d..009315d7ac 100644
--- a/video/out/cocoa/window.m
+++ b/video/out/cocoa/window.m
@@ -54,10 +54,16 @@
[self.adapter setNeedsResize];
}
-- (void)windowDidChangeBackingProperties:(NSNotification *)notification {
+- (void)windowDidChangeBackingProperties:(NSNotification *)notification
+{
[self.adapter setNeedsResize];
}
+- (void)windowDidChangeScreenProfile:(NSNotification *)notification
+{
+ [self.adapter didChangeWindowedScreenProfile:[self screen]];
+}
+
- (BOOL)isInFullScreenMode
{
return (([self styleMask] & NSFullScreenWindowMask) ==