[Bug 44417] New: WINE Does Not Detect Primary Display Correctly on macOS
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jan 26 04:14:00 CST 2018
https://bugs.winehq.org/show_bug.cgi?id=44417
Bug ID: 44417
Summary: WINE Does Not Detect Primary Display Correctly on
macOS
Product: Wine
Version: unspecified
Hardware: x86
OS: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wineserver
Assignee: wine-bugs at winehq.org
Reporter: me at haravikk.com
The title mostly says it all with this one; while WINE detects both of my
displays at the correct resolution etc., it unfortunately doesn't get them in
the right order, which can be annoying with games that don't offer a choice of
which screen to use when running in fullscreen mode. Usually there's a
workaround, but in some cases there is not.
To give some detail; my machine has two monitors, one is a 1680x1050 monitor
attached via DVI, and the other is a 1080p screen attached via HDMI. It seems
that the DVI connection is considered the primary screen by the GPU, so it has
to be overridden under System Preferences -> Displays to reclassify which is
the primary display.
While it's understandable that WINE would likewise prioritise the DVI screen
first, it would be nice if it could use the system's display configuration to
reorder the displays.
Searching online the impression I got is that this may be what happens under a
Linux host, but it doesn't seem to occur under macOS.
While there may be an API call that can do this more easily, the information
can be obtained from a user's
~/Library/Preferences/ByHost/com.apple.windowserver.<machine_uuid>.plist file,
where <machine_uuid> is the UUID used to identify the machine itself, though
I'm not certain what value indicates which display is the primary one, or if
it's simply the order in which they are provided (i.e- primary first).
Anyway, if WINE's method of obtaining the display information could be changed
to either get them in the order as defined by macOS's Display settings, then
this would be great.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list