Skip to content

Commit

Permalink
Fix presentation on macOS Sierra.
Browse files Browse the repository at this point in the history
Not sure if this is how the API should be used in the first place or if Apple broke something internally.
  • Loading branch information
mpflanzer committed Nov 28, 2016
1 parent cb3e388 commit 7077f41
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions SplitShow/PreviewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit 7077f41

Please sign in to comment.