From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34516: Multi-monitor frame sets Date: Tue, 19 Feb 2019 05:32:17 +0200 Message-ID: <837edwjvwe.fsf@gnu.org> References: <87bm3a74s4.fsf@mail.linkov.net> <83pnrpjb44.fsf@gnu.org> <8736okvlv2.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="150445"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34516@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 19 04:33:23 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvw9r-000d22-1w for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Feb 2019 04:33:23 +0100 Original-Received: from localhost ([127.0.0.1]:40730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvw9o-0000eH-O4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2019 22:33:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvw9b-0000d8-Ct for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 22:33:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvw9W-0005IY-P3 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 22:33:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54243) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvw9W-0005IR-JK for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 22:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvw9W-0006JK-6Z for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 22:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Feb 2019 03:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34516 X-GNU-PR-Package: emacs Original-Received: via spool by 34516-submit@debbugs.gnu.org id=B34516.155054713724162 (code B ref 34516); Tue, 19 Feb 2019 03:33:02 +0000 Original-Received: (at 34516) by debbugs.gnu.org; 19 Feb 2019 03:32:17 +0000 Original-Received: from localhost ([127.0.0.1]:53524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvw8m-0006He-TW for submit@debbugs.gnu.org; Mon, 18 Feb 2019 22:32:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvw8k-0006HJ-Vb for 34516@debbugs.gnu.org; Mon, 18 Feb 2019 22:32:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvw8f-0004we-Jk; Mon, 18 Feb 2019 22:32:09 -0500 Original-Received: from [176.228.60.248] (port=1353 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gvw8f-00018q-7h; Mon, 18 Feb 2019 22:32:09 -0500 In-reply-to: <8736okvlv2.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 18 Feb 2019 23:16:01 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:155537 Archived-At: > From: Juri Linkov > Cc: 34516@debbugs.gnu.org > Date: Mon, 18 Feb 2019 23:16:01 +0200 > > > What kind of list does display-monitor-attributes-list return on your > > system, and how can you tell which part there refers to what physical > > monitor? > > It returns a list with such meaningless monitor names as “LVDS”, “eDP-1”, “DP-2-2”, > etc. that don't help to refer to a physical monitor. However, I noticed that > the only attribute that could help is ‘geometry’ in the form of (X Y WIDTH HEIGHT), > e.g. when two adjacent monitors have such geometry attributes: > > (geometry 0 0 1920 1080) > (geometry 1920 16 2560 1440) > > the right edge of the first monitor ends (1920px) is where the left edge > of the second monitor begins. Based on this guess I tried to deduce > a relative placement of new frames, but maybe I'm wrong. Does the proposed function sound useful, given these issues?