Skip to content

Commit

Permalink
Merge pull request JetBrains#204 from alexander-lobas/jbr17
Browse files Browse the repository at this point in the history
JBR-5175 jb/java/awt/Window/FullScreenTwoFrames.java: -[AWTWindow res…
  • Loading branch information
alexander-lobas authored Jan 16, 2023
2 parents 0a3f4b2 + 2a7cca8 commit deba397
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -1659,6 +1659,14 @@ - (void) setWindowFullScreeControls {
[parent addSubview:_fullScreenButtons];
}

- (void) resetWindowFullScreeControls {
if (_fullScreenButtons != nil) {
[_fullScreenButtons removeFromSuperview];
_fullScreenButtons = nil;
_fullScreenOriginalButtons = nil;
}
}

- (BOOL) isFullScreen
{
NSUInteger masks = [self.nsWindow styleMask];
Expand Down

0 comments on commit deba397

Please sign in to comment.