unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* display-pixel behavior changed on Mac OS X
@ 2007-04-09 19:03 Ryan McGeary
  0 siblings, 0 replies; only message in thread
From: Ryan McGeary @ 2007-04-09 19:03 UTC (permalink / raw)
  To: bug-gnu-emacs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-09 19:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09 19:03 display-pixel behavior changed on Mac OS X Ryan McGeary

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).