From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: x-display-pixel-width/height inconsistency Date: Wed, 20 Mar 2013 18:05:10 +0400 Message-ID: <8738vqyxnt.fsf@yandex.ru> References: <87vc8nyoat.fsf@yandex.ru> <8738vrq67p.fsf@yandex.ru> <87vc8metkw.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363788335 8001 80.91.229.3 (20 Mar 2013 14:05:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 14:05:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 20 15:05:59 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UIJeR-0001Fm-3r for ged-emacs-devel@m.gmane.org; Wed, 20 Mar 2013 15:05:59 +0100 Original-Received: from localhost ([::1]:60379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIJe3-0006OT-OC for ged-emacs-devel@m.gmane.org; Wed, 20 Mar 2013 10:05:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIJds-0006Fp-8M for emacs-devel@gnu.org; Wed, 20 Mar 2013 10:05:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIJdk-0007nR-NP for emacs-devel@gnu.org; Wed, 20 Mar 2013 10:05:24 -0400 Original-Received: from mail-bk0-x22a.google.com ([2a00:1450:4008:c01::22a]:44142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIJdk-0007mz-H5 for emacs-devel@gnu.org; Wed, 20 Mar 2013 10:05:16 -0400 Original-Received: by mail-bk0-f42.google.com with SMTP id jk7so885424bkc.1 for ; Wed, 20 Mar 2013 07:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type:x-antivirus :x-antivirus-status; bh=T90575kcZUFdvWlMDqb5T1p0IeHZglgHwosbE/MMwTM=; b=YknSBe6CV8gWl4OK8FnPsfM78jX3fgN7etQT/dGS7y9L3SgxrZJohSDV828axG4vEP kyMvVIXZP8cnxYoLe1Hea2e5fhcQWjRMXDnHuioraXRTSzzbFGsFBWgT7HZVLQUuCDLC 4+pKIgm+k62STFkY2BlRfLr5+i08VE8bwkze5dSPNaWFLlcwnaw8nS6XZ4XdbcaO62xG yDI4mOVag9aVYlYjk4Ek8QKmHueCFK+heX8s4HTYVMKnNiw8lOSy+MdGiCdeEpH3xjyZ 6mEEToZwtdKrGr7BN1QjETSCU8W1SNrm0i1TSkHLvs/85OIdfzMDnrsmV4Zl1uB0gLNF znRg== X-Received: by 10.112.23.136 with SMTP id m8mr9656483lbf.53.1363788315408; Wed, 20 Mar 2013 07:05:15 -0700 (PDT) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPS id go12sm958102lab.3.2013.03.20.07.05.13 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Mar 2013 07:05:13 -0700 (PDT) In-Reply-To: (YAMAMOTO Mitsuharu's message of "Wed, 20 Mar 2013 12:58:29 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-Antivirus: avast! (VPS 130319-1, 20.03.2013), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4008:c01::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157993 Archived-At: YAMAMOTO Mitsuharu writes: >>>>>> On Wed, 20 Mar 2013 05:41:19 +0400, Dmitry Gutov said: > >>>> Without the patch, display-mm-height/width return some values, >>>> same on both monitors, but I can't tell how they relate to >>>> x-display-* functions. >>> >>> Please also try display-mm-height/width after applying the patch. > >> Applied, compiled, and it doesn't seem to make any difference. Same >> values, on both monitors. I'll repeat the experiment just in case, >> and will follow-up if there's anything different. > > What happens if you replace `CreateDC ("DISPLAY", NULL, NULL, NULL)' > in the patch with `CreateDC (TEXT ("DISPLAY"), NULL, NULL, NULL)' ? That doesn't seem to change anything, either.