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