From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#21173: 25.0.50; New frames positioned off screen with multiple monitors Date: Thu, 22 Oct 2015 00:37:47 +0100 Message-ID: <86twpjsshg.fsf@gmail.com> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445494175 527 80.91.229.3 (22 Oct 2015 06:09:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 06:09:35 +0000 (UTC) To: 21173@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 22 08:09:23 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 1Zp93y-00021X-Cq for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Oct 2015 08:09:22 +0200 Original-Received: from localhost ([::1]:56629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp93x-0005WU-Sj for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Oct 2015 02:09:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp92j-0003i8-Lt for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 02:08:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp92g-0000OK-Dh for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 02:08:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp92g-0000OG-A5 for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 02:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zp92f-0001m3-Vk for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 02:08:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <874mkjadqx.fsf@gmail.com> Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Oct 2015 06:08: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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14454940736806 (code B ref -1); Thu, 22 Oct 2015 06:08:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Oct 2015 06:07:53 +0000 Original-Received: from localhost ([127.0.0.1]:60160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zp92X-0001lh-EV for submit@debbugs.gnu.org; Thu, 22 Oct 2015 02:07:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34018) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zp92V-0001lZ-D3 for submit@debbugs.gnu.org; Thu, 22 Oct 2015 02:07:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp92S-0000LC-3X for submit@debbugs.gnu.org; Thu, 22 Oct 2015 02:07:51 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp92S-0000L8-0T for submit@debbugs.gnu.org; Thu, 22 Oct 2015 02:07:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp2yU-0002q7-D5 for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 19:39:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp2xE-0006ep-Lz for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 19:38:04 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp2xE-0006cs-FH for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 19:38:00 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zp2xC-0003Pg-17 for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 01:37:58 +0200 Original-Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Oct 2015 01:37:58 +0200 Original-Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Oct 2015 01:37:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:FB75EUplH9JYT8mhKhgmSm1XQxQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:107828 Archived-At: On Wed 21 Oct 2015, Francis Litterio wrote: > martin rudalics gmx.at> writes: > >> > The patch below fixes the problem for me on a Mingw64 build, and creates >> > frames at the correct position. Please try it and report the results. >> >> Andy informed us that his copyright papers are now on file so we can >> install this patch. >> >> Francis, did you try the patch? If not, pretty please do. > > This patch fixes the problem for me under Windows. Many thanks to Andy > Moreton! Since Andy reports that negative X offsets also happen under > the X Window system, should this also be fixed in function > x_calc_absolute_position in src/term.c? I only reported that I also see negative cooredinates on MS Windows: I don't know how X11 behaves (the patch was for Windows-specific code). AndyM