aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/cocoa
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa')
-rw-r--r--video/out/cocoa/window.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/video/out/cocoa/window.m b/video/out/cocoa/window.m
index d26d7272a6..5656428936 100644
--- a/video/out/cocoa/window.m
+++ b/video/out/cocoa/window.m
@@ -159,16 +159,28 @@
[self.adapter windowDidExitFullScreen:notification];
}
+- (void)windowWillEnterFullScreen:(NSNotification *)notification
+{
+ [self.adapter windowWillEnterFullScreen:notification];
+}
+
+- (void)windowWillExitFullScreen:(NSNotification *)notification
+{
+ [self.adapter windowWillExitFullScreen:notification];
+}
+
- (void)windowDidFailToEnterFullScreen:(NSWindow *)window
{
_is_animating = 0;
[self setToWindow];
+ [self.adapter windowDidFailToEnterFullScreen:window];
}
- (void)windowDidFailToExitFullScreen:(NSWindow *)window
{
_is_animating = 0;
[self setToFullScreen];
+ [self.adapter windowDidFailToExitFullScreen:window];
}
- (void)windowDidChangeBackingProperties:(NSNotification *)notification