Fixed multi-screen support on window frame restore

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35241 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2012-06-27 18:10:40 +00:00
parent 35441d506c
commit d888d2ec77
3 changed files with 87 additions and 17 deletions

View file

@ -119,6 +119,7 @@ static NSMutableArray *screenArray = nil;
[screenArray addObject: screen];
RELEASE(screen);
}
NSLog(@"NSScreen:screens: %@", screenArray);
return [NSArray arrayWithArray: screenArray];
}
@ -258,6 +259,15 @@ static NSMutableArray *screenArray = nil;
return _frame;
}
- (NSString*)description
{
NSMutableString *description = [NSMutableString stringWithString:[super description]];
[description appendFormat:@"number: %ld\n",(long)_screenNumber];
[description appendFormat:@"frame: %@\n",NSStringFromRect(_frame)];
return([[description copy] autorelease]);
}
/**
* <p>
* This method generates a dictionary containing information