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

monitors Width and height errors when two monitors have different DPI #219

Open
bluely1978 opened this issue Dec 14, 2022 · 1 comment
Open

Comments

@bluely1978
Copy link

bluely1978 commented Dec 14, 2022

General information:

  • OS name: _Windows11
  • OS version: sid
  • OS architecture: 64 bits
  • Resolutions:
    • Monitor 1: 3840x2160 DPI 200%
    • Monitor 2: 2560x1440 DPI 175%
  • Python version: 3.10.9
  • MSS version: 7.0.1
>>> sct = mss.mss()
>>> sct.monitors
[
    {'left': -2926, 'top': 0, 'width': 6766, 'height': 2160},
    {'left': 0, 'top': 0, 'width': 3840, 'height': 2160},
    {'left': -2926, 'top': 0, 'width': 2926, 'height': 1646},  # <-- It is actually 2560*1440
]
@bluely1978
Copy link
Author

Sorry, there is an error above, mss version is the latest version 7.01

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

No branches or pull requests

2 participants