[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: display-pixel behavior changed on Mac OS X]
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: address@hidden: display-pixel behavior changed on Mac OS X] |
Date: |
Wed, 11 Apr 2007 17:16:10 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.0.97 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Wed, 11 Apr 2007 00:13:36 -0400, Richard Matthew Stallman
>>>>> <address@hidden> said:
> Would people please DTRT, then ack?
> ------- Start of forwarded message -------
> I just recently upgraded from 22.0.95 to 22.0.97.
> x-display-pixel-width and x-display-pixel-height no longer work as
> expected when running two displays.
> (x-display-pixel-width) now returns the total width in pixels for
> all displays/monitors, not just the main display for the frame.
> For example, I have two displays side by side (1920x1200 and
> 1400x900). In 22.0.95, x-display-pixel-width returned 1920 as
> expected. Now, 22.0.97 returns 3360 (1920 + 1400). This was
> unexpected and makes it difficult to use these values to
> auto-maximize my initial emacs frame to fit the main display.
> - --------
> In GNU Emacs 22.0.97.1 (i386-apple-darwin8.9.1, Carbon Version
> 1.6.0) of 2007-04-08 on potato.local Windowing system distributor
> `Apple Inc.', version 10.4.9 configured using `configure
> '--prefix=/Applications/Emacs.app/Contents/Resources'
> '--with-carbon' '--without-x'
> '--libexecdir=/Volumes/Emacs/Emacs.app/Contents/MacOS/libexec'
> 'CFLAGS=-arch i386 -arch ppc -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk - -DUSE_ATSUI -DUSE_MAC_TSM''
> - --------
That's not a bug, and the change is for consistency with X11. The
related thread starts from
http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-03/msg00412.html
YAMAMOTO Mitsuharu
address@hidden