From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Problems with display-pixels-per-inch variable Date: 15 Aug 2005 12:31:47 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124123720 11669 80.91.229.2 (15 Aug 2005 16:35:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Aug 2005 16:35:20 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 15 18:35:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E4hvI-0000KV-HZ for ged-emacs-devel@m.gmane.org; Mon, 15 Aug 2005 18:34:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4hyf-0007qN-J7 for ged-emacs-devel@m.gmane.org; Mon, 15 Aug 2005 12:38:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E4hxW-0007Tc-0E for emacs-devel@gnu.org; Mon, 15 Aug 2005 12:37:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E4hxT-0007SS-HZ for emacs-devel@gnu.org; Mon, 15 Aug 2005 12:37:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4hxT-0007R9-BE for emacs-devel@gnu.org; Mon, 15 Aug 2005 12:37:07 -0400 Original-Received: from [207.245.121.138] (helo=mail.agora-net.com) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1E4i7u-0005eb-PL for emacs-devel@gnu.org; Mon, 15 Aug 2005 12:47:54 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.34) id 1E4hsJ-0005fK-Gx; Mon, 15 Aug 2005 12:31:47 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: Original-Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42077 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42077 storm@cua.dk (Kim F. Storm) writes: > Does anyone know how to do that? that info can be found in FRAME_X_DISPLAY_INFO (frame)->resx and FRAME_X_DISPLAY_INFO (frame)->resy but those are initialized later. perhaps you can adjust the var's value right before entering the command-loop. fwiw, the default is pretty close to what i see locally (76.2 for both width and height). thi