From 7077f41ee1e5ffbf9bd072f34b321240efb19283 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Mon, 28 Nov 2016 21:02:47 +0000 Subject: [PATCH] Fix presentation on macOS Sierra. Not sure if this is how the API should be used in the first place or if Apple broke something internally. --- SplitShow/PreviewController.m | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/SplitShow/PreviewController.m b/SplitShow/PreviewController.m index fa812bf..26ab1eb 100644 --- a/SplitShow/PreviewController.m +++ b/SplitShow/PreviewController.m @@ -696,11 +696,9 @@ - (void)startPresentation [self.presentationControllers addObject:presentationWindowController]; - if([screen isPseudoScreen]) - { - [presentationWindowController showWindow:nil]; - } - else + [presentationWindowController showWindow:nil]; + + if(![screen isPseudoScreen]) { [presentationWindowController.window toggleFullScreen:nil]; }