Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to list or manage multiple resolutions #3

Open
rbcrwd opened this issue Mar 12, 2020 · 1 comment
Open

Unable to list or manage multiple resolutions #3

rbcrwd opened this issue Mar 12, 2020 · 1 comment

Comments

@rbcrwd
Copy link

rbcrwd commented Mar 12, 2020

The current master branch is unable to list the resolution on multiple screens.

Expected output (available on commit 9f33910):

# ./scres.swift -l
Display 0:         2880 x 1800 @ 1x @ 60Hz
Display 1:         3840 x 2160 @ 1x @ 60Hz
#

Actual output (on master):

# ./scres.swift -l
Display 0: 2880 x 1800 @ 1x @ 60Hz
#

In looking at the code (both manually and using git bisect) it seems the next commit (f4fca5e) is the culprit. It creates an array of size 1 rather than use the previous maxDisplays value. This seems to limit the tool to managing only the internal display.

@mahmudzero
Copy link

I'm having this issue as well -- I'll try looking into it but I'm not too familiar with the code base (i.e. I've never looked into the code base before lol). will try to help as much as I can!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants