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 07:25:30 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: 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 1363731949 29683 80.91.229.3 (19 Mar 2013 22:25:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Mar 2013 22:25:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 19 23:26:08 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 1UI4yu-00058X-5H for ged-emacs-devel@m.gmane.org; Tue, 19 Mar 2013 23:26:08 +0100 Original-Received: from localhost ([::1]:56110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI4yW-0000Bi-Pq for ged-emacs-devel@m.gmane.org; Tue, 19 Mar 2013 18:25:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI4yP-00006g-V2 for emacs-devel@gnu.org; Tue, 19 Mar 2013 18:25:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UI4yO-00068o-IX for emacs-devel@gnu.org; Tue, 19 Mar 2013 18:25:37 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:53167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI4yO-00067p-9C for emacs-devel@gnu.org; Tue, 19 Mar 2013 18:25:36 -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 CDC39C055D for ; Wed, 20 Mar 2013 07:25:30 +0900 (JST) In-Reply-To: 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:157965 Archived-At: >>>>> On Tue, 19 Mar 2013 09:39:07 +0900, YAMAMOTO Mitsuharu said: > But the actual return value is different among the platforms: > * W32 port: Dimension of the primary monitor. (Not actually tested, > but guessed from the code and API documentations.) Could someone using multi-monitor setups on W32 check if this guess is correct? I'm confused because an API reference in English (*1) says "If this value (argument) is NULL, GetDC retrieves the DC for the entire screen", whereas another reference in Japanese (*2) says "Given NULL, GetDC retrieves the DC for the primary monitor. To retrieve DCs for other monitors, use EnumDisplayMonitors and CreateDC". *1: http://msdn.microsoft.com/en-us/library/windows/desktop/dd144871(v=vs.85).aspx *2: http://msdn.microsoft.com/ja-jp/library/cc428664.aspx YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp