http://bugs.winehq.org/show_bug.cgi?id=10499
Summary: ChangeDisplaySettings is not friendly with Xinerama hints Product: Wine Version: 0.9.49. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: kassah@gmail.com
When you have two screens with 1680x1050:24 each side by side, you call ChangeSettings() with a settings of 1680x1050:24 it will try to use Xrandr to change the size of the entire display (and fail). Windows will change the primary display of a multi-head configuration to match the settings of the request, or if it already matches, leave it alone (which in my case it generally does).
http://bugs.winehq.org/show_bug.cgi?id=10499
--- Comment #1 from Will Robertson kassah@gmail.com 2007-11-18 18:40:48 --- Created an attachment (id=9242) --> (http://bugs.winehq.org/attachment.cgi?id=9242) Lesson1 of Nehe's Win32 OpenGL Tutorials Modified to detect format of screen.
Attaching source code that I used to discover this bug. In order to test it you may have to adjust the Color Depth var (depth) in WinMain to match your configuration.
http://bugs.winehq.org/show_bug.cgi?id=10499
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2007-11-18 18:42:16 --- No need for duplicate generic bugs.
*** This bug has been marked as a duplicate of bug 2866 ***
http://bugs.winehq.org/show_bug.cgi?id=10499
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com 2008-10-29 14:18:09 --- Closing abandoned.