From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: x-display-pixel-width/height inconsistency Date: Wed, 20 Mar 2013 12:58:29 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <87vc8nyoat.fsf@yandex.ru> <8738vrq67p.fsf@yandex.ru> <87vc8metkw.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1363751921 3913 80.91.229.3 (20 Mar 2013 03:58:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 03:58:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 20 04:59:07 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 1UIAB5-0006wG-Mx for ged-emacs-devel@m.gmane.org; Wed, 20 Mar 2013 04:59:03 +0100 Original-Received: from localhost ([::1]:47812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIAAi-0003QK-HR for ged-emacs-devel@m.gmane.org; Tue, 19 Mar 2013 23:58:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIAAe-0003Nt-4C for emacs-devel@gnu.org; Tue, 19 Mar 2013 23:58:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIAAc-0004oP-JD for emacs-devel@gnu.org; Tue, 19 Mar 2013 23:58:36 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:53009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIAAc-0004nt-8g for emacs-devel@gnu.org; Tue, 19 Mar 2013 23:58:34 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id C3365C055D; Wed, 20 Mar 2013 12:58:29 +0900 (JST) In-Reply-To: <87vc8metkw.fsf@yandex.ru> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 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:157978 Archived-At: >>>>> 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)' ? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp