Re: X11 resolution
Re: X11 resolution
- Subject: Re: X11 resolution
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 16 Dec 2008 19:25:07 -0800
On Dec 15, 2008, at 22:27, Vernon Williams wrote:
Monday, December 15, 2008, 11:33pm
Why not use the monitor's dpi if there is only one monitor,
or there are several but they all have the same dpi, which
would probably account for a majority of cases?
Yea, I thought of that, but that doesn't really solve our problem for
the general case.
This is under the presumption that the OS can surely
produce a list of all currently attached monitors and their
dpi's.
It can.
If you could just write a C function with no arguments
to return an allocated integer array of all the current dpi's,
with the last entry zero, that would make it easy.
For the case of multiple monitors with differing dpi's, why
not have a preference for the minimum of all the dpi's, the
maximum, the average (rounded to an integer), or some
specified value, to make it Mac friendly?
I'd rather hide this and "do the right thing" ... there's already a
way to do this using "the X11 way" and I'd rather not add a "mac way"
hack as well...
<snip/>
Another interesting thought would be to provide an
easy way to associate a particular X11 server with a
particular monitor or monitors, so each server could
use the best dpi for its associated monitors. This is in
light of the recent discussion about making it possible
to run multiple X11 servers simultaneously.
yeah, but then you couldn't move a X11 window from one monitor to
another...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden