From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ryan McGeary" Newsgroups: gmane.emacs.bugs Subject: display-pixel behavior changed on Mac OS X Date: Mon, 9 Apr 2007 15:03:37 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176225546 10004 80.91.229.12 (10 Apr 2007 17:19:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2007 17:19:06 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 10 19:18:22 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HbFbt-0005UK-BO for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 14:38:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbFfo-0006gw-JI for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 08:42:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HazDJ-0004SE-Ar for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2007 15:07:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HazDH-0004NG-P4 for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2007 15:07:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HazDH-0004Mq-KM for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2007 15:07:39 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Haz9Q-0007F4-6T for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2007 15:03:40 -0400 Original-Received: by ug-out-1314.google.com with SMTP id j3so2019220ugf for ; Mon, 09 Apr 2007 12:03:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=L1rPMxoIQSwFvSqvDzM0uZHhZBwilBHXbuDkLn6eimzdxgElKNzPxkU04N4e+/nuSbUlc0ZQ8INRY9dDfTrcSWZ9JUsRcSMvN4IRPC7sjMrwDfGF4PaW+jBTilV693miu9Qv1HOYKu0v53VfGtKHCd6jebMPuS0sJg5AL/s92WY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=QENn9vGyUwvj5lxBzPWtXu2wqexpKgNFm/dwil5+xEZMGwAmBxmCIdjqX5VGrAIeJz0gWERbcu8RPtxtErzqbDVe8etrrmupJ0Kml8eQcl5cEHS98nAJ6IURFoepL5DdaAwBVgXB1qnDpcLEmpNTIqRdQ1Hf7hRTXHkD8cbrI7o= Original-Received: by 10.66.249.16 with SMTP id w16mr5458499ugh.1176145417748; Mon, 09 Apr 2007 12:03:37 -0700 (PDT) Original-Received: by 10.67.92.8 with HTTP; Mon, 9 Apr 2007 12:03:37 -0700 (PDT) Content-Disposition: inline X-Google-Sender-Auth: 3015e985d109482a X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-Mailman-Approved-At: Tue, 10 Apr 2007 08:42:11 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15660 Archived-At: 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