[Top][All Lists]

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

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

From: Dmitry Gutov
Subject: Re: x-display-pixel-width/height inconsistency
Date: Thu, 21 Mar 2013 05:27:42 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

YAMAMOTO Mitsuharu <address@hidden> writes:

>>>>>> On Wed, 20 Mar 2013 18:05:10 +0400, Dmitry Gutov <address@hidden> said:
>>> What happens if you replace `CreateDC ("DISPLAY", NULL, NULL,
>>> NULL)' in the patch with `CreateDC (TEXT ("DISPLAY"), NULL, NULL,
>>> NULL)' ?
>> That doesn't seem to change anything, either.
> Hmm, what about the following one?

Still the same.

> And could someone who is familiar with the W32 (or NS) port help us
> make these functions consistent with the X11 version?  Otherwise elisp
> programs that use these common functions (unconsciously) relying on
> platform-specific behavior will not work as intended on other
> platforms.
> (Actually, some users have sent me "bug reports" that the behavior of
> display-pixel-width/height on the Mac port is "wrong" for the reason
> that they do not return the same values as the NS port, whereas those
> in the Mac port behave consistently with those in X11.)

Aside from it being X11 behavior, why do you consider it the "right"
one? I see how I could use one monitor's dimensions (to make Emacs take
full screen, or half width, etc), but what use is the "total size"?

My monitors are of different size, you couldn't make Emacs fully
maximized to both of them, even if you tried.

reply via email to

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