mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 07:21:02 +00:00
* Source/x11/XGServerWindow.m (screenList): fixed missed rename count
into `monitorsCount` on non-RandR code.
This commit is contained in:
parent
c4631e0fc3
commit
7e6dfa39e8
1 changed files with 1 additions and 1 deletions
|
@ -4473,7 +4473,7 @@ _computeDepth(int class, int bpp)
|
|||
put the main screen first */
|
||||
[screens addObject: [NSNumber numberWithInt: defScreen]];
|
||||
}
|
||||
for (i = 0; i < count; i++)
|
||||
for (i = 0; i < monitorsCount; i++)
|
||||
{
|
||||
if (i != defScreen)
|
||||
[screens addObject: [NSNumber numberWithInt: i]];
|
||||
|
|
Loading…
Reference in a new issue