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

[Linux] Multiple monitors identified as a single one #678

Closed
StelarCF opened this issue Dec 20, 2015 · 2 comments

Comments

@StelarCF
Copy link

commented Dec 20, 2015

I have this issue in this game. In it, the issue manifests as a bug where you cannot point anywhere to the right, only (at best) up/down and to the left no matter where you move the mouse, unless I make the window as big as both of my screens. After inspecting the source code, I think I have narrowed it down to both of my monitors being identified as a single one - since they are both the same size (1920x1080), when the window only occupies one of them (the main one) it gets the wrong width and height, which produces the aforementioned bug.

@sleeparrow

This comment has been minimized.

Copy link
Contributor

commented Dec 20, 2015

It's common for an X-server to say there's just one screen even if it's outputting to multiple monitors. I believe the implementation of get_available_monitors is not correct for X11 in this regard, if it's possible to get the number of monitors otherwise.

@tomaka

This comment has been minimized.

Copy link
Member

commented Nov 3, 2016

@tomaka tomaka closed this Nov 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.