bug-gnu-emacs
[Top][All Lists]
Advanced

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

display-pixel behavior changed on Mac OS X


From: Ryan McGeary
Subject: display-pixel behavior changed on Mac OS X
Date: Mon, 9 Apr 2007 15:03:37 -0400

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''
--------

-Ryan




reply via email to

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