unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ryan McGeary" <ryanmcgeary@hotmail.com>
To: bug-gnu-emacs@gnu.org
Subject: display-pixel behavior changed on Mac OS X
Date: Mon, 9 Apr 2007 15:03:37 -0400	[thread overview]
Message-ID: <f2ce72b0704091203t603f8e65v44d8cea70158a97f@mail.gmail.com> (raw)

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	other threads:[~2007-04-09 19:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f2ce72b0704091203t603f8e65v44d8cea70158a97f@mail.gmail.com \
    --to=ryanmcgeary@hotmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).