Skip to content

Unable to list or manage multiple resolutions #3

Description

@rbcrwd

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions