http://bugs.winehq.org/show_bug.cgi?id=59865 Bug ID: 59865 Summary: QueryDisplayConfig - Problem Finding Primary Display Product: Wine Version: 11.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@list.winehq.org Reporter: timothylottes@protonmail.com Distribution: --- To reproduce (1.) Run multi-display Linux configuration (like a laptop) (2.) Have the built-in display the secondary (extended) display (3.) Have the HDMI/DP out 2nd display be set as the primary display (4.) One can verify this by looking at the desktop offsets in X Windows (5.) The primary display has offset {0,0} (6.) The secondary display will have some other non-zero offsets Run a WIN32 app using wine that uses QueryDisplayConfig. Walk the DISPLAYCONFIG_PATH_INFO array The DISPLAYCONFIG_PATH_TARGET_INFO part of that gives desktopModeInfoIdx Which can be used to find the DISPLAYCONFIG_MODE_INFO entry Which will have a DISPLAYCONFIG_DESKTOP_IMAGE_INFO union element filled out Which has DesktopImageRegion That image region needs to be offset at {0,0} for the primary display And it isn't in my testing Suggested fix: have QueryDisplayConfig actually match the active X Server configuration for multi-display situations -- 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.