mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-24 04:11:28 +00:00
* Source/x11/XGServerWindow.m (screenList): fixed comment.
(resolutionForScreen:): parameter renamed.
This commit is contained in:
parent
6a1c1600a2
commit
1065e45869
1 changed files with 3 additions and 3 deletions
|
@ -4482,8 +4482,8 @@ _computeDepth(int class, int bpp)
|
||||||
|
|
||||||
if (monitorsCount == 0)
|
if (monitorsCount == 0)
|
||||||
{
|
{
|
||||||
/* Assumed that it's always available 1 screen per application. We only
|
/* It is assumed that there is always only one screen per application.
|
||||||
need to know it's number and it was saved in _initXContext as
|
We only need to know its number and it was saved in _initXContext as
|
||||||
`defScreen`. */
|
`defScreen`. */
|
||||||
monitorsCount = 1;
|
monitorsCount = 1;
|
||||||
monitors = NSZoneMalloc([self zone], sizeof(MonitorDevice));
|
monitors = NSZoneMalloc([self zone], sizeof(MonitorDevice));
|
||||||
|
@ -4560,7 +4560,7 @@ _computeDepth(int class, int bpp)
|
||||||
}
|
}
|
||||||
|
|
||||||
// `screen` is a Xlib screen number.
|
// `screen` is a Xlib screen number.
|
||||||
- (NSSize) resolutionForScreen: (int)screen
|
- (NSSize) resolutionForScreen: (int)screen_num
|
||||||
{
|
{
|
||||||
// NOTE:
|
// NOTE:
|
||||||
// -gui now trusts the return value of resolutionForScreen:,
|
// -gui now trusts the return value of resolutionForScreen:,
|
||||||
|
|
Loading…
Reference in a new issue