Only reset the frame size and position if switching window level.
This commit is contained in:
parent
dae84c4a2e
commit
2647279ff6
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user