Skip to content

Commit

Permalink
mac: don’t change borderless window style flags if we’re currently in…
Browse files Browse the repository at this point in the history
… the right setting
  • Loading branch information
richardeakin committed Mar 6, 2015
1 parent c045cdd commit f02e941
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cinder/app/cocoa/AppImplMac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,9 @@ - (BOOL)isBorderless

- (void)setBorderless:(BOOL)borderless
{
if( mBorderless == borderless )
return;

mBorderless = borderless;

NSUInteger styleMask;
Expand Down

0 comments on commit f02e941

Please sign in to comment.