From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21173: 25.0.50; New frames positioned off screen with multiple monitors Date: Wed, 28 Oct 2015 20:08:05 +0200 Message-ID: <83k2q63lyy.fsf@gnu.org> References: <874mkjadqx.fsf@gmail.com> <55BCA4B1.8030103@gmx.at> <55BCEAA5.9020406@gmx.at> <55BF0E7D.1070007@gmx.at> <86k2s0v97i.fsf@gmail.com> <56137EDB.1020801@gmx.at> <56288487.9020202@gmx.at> <86h9lcou5o.fsf@gmail.com> <56309B7D.5090207@gmx.at> <83wpu72dnv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1446055761 2447 80.91.229.3 (28 Oct 2015 18:09:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Oct 2015 18:09:21 +0000 (UTC) Cc: 21173@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 28 19:09:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZrV9p-0003Ih-Aq for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Oct 2015 19:09:09 +0100 Original-Received: from localhost ([::1]:39991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrV9o-00062Y-Tu for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Oct 2015 14:09:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrV9l-00062T-Oi for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2015 14:09:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrV9i-00060w-Ih for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2015 14:09:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrV9i-00060q-FC for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2015 14:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZrV9h-0000Ol-VX for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2015 14:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Oct 2015 18:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21173 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21173-submit@debbugs.gnu.org id=B21173.14460556901466 (code B ref 21173); Wed, 28 Oct 2015 18:09:01 +0000 Original-Received: (at 21173) by debbugs.gnu.org; 28 Oct 2015 18:08:10 +0000 Original-Received: from localhost ([127.0.0.1]:42807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZrV8r-0000Na-K2 for submit@debbugs.gnu.org; Wed, 28 Oct 2015 14:08:09 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:42114) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZrV8p-0000NQ-0e for 21173@debbugs.gnu.org; Wed, 28 Oct 2015 14:08:08 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NWX00A00ZEKFI00@a-mtaout20.012.net.il> for 21173@debbugs.gnu.org; Wed, 28 Oct 2015 20:08:05 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWX00AZVZPH5D70@a-mtaout20.012.net.il>; Wed, 28 Oct 2015 20:08:05 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108115 Archived-At: > From: Andy Moreton > Date: Wed, 28 Oct 2015 17:25:31 +0000 > > > To see the difference, you need a test case where the selected frame > > and the frame used in your code are different. > > Please suggest a suitable test case. The patch fixed the original bug, > and has not caused me any problems in daily usage. Indeed, I missed the fact that this code is only interested in the "display", not the frame. And the w32 build of Emacs only supports a single display, so the frame indeed doesn't matter. Which means you could invoke Fw32_display_monitor_attributes_list with the argument of Qnil, and still get the same effect. Sorry for the noise.