emacs-devel
[Top][All Lists]
Advanced

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

Re: x-display-pixel-width/height inconsistency


From: Jan Djärv
Subject: Re: x-display-pixel-width/height inconsistency
Date: Sat, 23 Mar 2013 14:35:39 +0100

Hello. 


23 mar 2013 kl. 07:15 skrev Eli Zaretskii <address@hidden>:

> 
> What you say in those messages boils down to
> 
>  . the X11 behavior is documented in the manual
> 
>  . Emacs on X11 cannot distinguish between physical monitors that
>    belong to the same display
> 
> As I write above, the first point is only partially true
> (display-mm-width/height are not documented as describing the virtual
> screen, and the x-display-* primitives are not documented at all).  As
> for the second point, I don't see how it can be any guideline to make
> a decision, since both NS and W32 _can_ distinguish between physical
> monitors (if we include the appropriate code).
> 
> So the question still stands: which behavior should be considered
> "correct" and which a "missing feature".

I guess the X11 port was coded before multiple monitors was common. When it was 
discovered that the primitives used returned the whole combined size, that 
behaviour was documented. I doubt there was any well thought out reason for 
having it like it is. Well, finding monitor sizes was probably hard to 
impossible.

But that is hardly a reason to keep it as it is. We can do better now.

    Jan D.




reply via email to

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