2
0

Only reset the frame size and position if switching window level.

This commit is contained in:
Maarten Billemont 2016-04-30 15:48:10 -04:00
parent dae84c4a2e
commit 2647279ff6

View File

@ -35,7 +35,7 @@
[self setLevel:NSScreenSaverWindowLevel];
[self setFrame:self.screen.frame display:YES];
}
else {
else if (self.level != NSNormalWindowLevel) {
[self setLevel:NSNormalWindowLevel];
[self setFrame:NSMakeRect( 0, 0, 640, 600) display:NO];
[self center];