[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gv] Xinerama heuristic does not work for portrait-oriented screens

From: Vilhelm Sjöberg
Subject: [bug-gv] Xinerama heuristic does not work for portrait-oriented screens
Date: Fri, 27 Jul 2012 16:40:54 -0400

In the function main_setResolutions in main.c, there is some code that tries to guess if X is reporting the resolution for the combined screen or just one of them. However, this heuristic does not work if the screen is turned to portrait orientation.

I have two screens, each of them is 1024x1280 pixels and they are placed next to each other. Woth xinerama xdyinfo reports the total screen resolution 2048x1280 pixels (604x382 millimeters).

However, there is no size in milimeters I can type into the gv State -> Setup Options -> Screen Size fields which gets the right scaling: Because 1 < 604/383 < 3, gv incorrectly thinks that this is the size of just one monitor rather than two.

Getting rid of all Xinerama support altogether solves the problem for me (it's just used in this function), and I'm not sure what to do about this in general, but I thought I would mention it.

Best regards,
   Vilhelm Sjoberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]