From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#34516: Multi-monitor frame sets Date: Sun, 3 Mar 2019 11:43:24 +0000 Message-ID: <20190303114324.GA49402@breton.holly.idiocy.org> References: <87bm3a74s4.fsf@mail.linkov.net> <87zhqsx115.fsf@mail.linkov.net> <87r2byw802.fsf@mail.linkov.net> <20190302205424.GB20712@breton.holly.idiocy.org> <86r2bosuc0.fsf@gmail.com> 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="40511"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.11.2 (2019-01-07) Cc: 34516@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 03 12:44:11 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 1h0PXP-000APW-36 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Mar 2019 12:44:11 +0100 Original-Received: from localhost ([127.0.0.1]:37432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0PXO-000879-05 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Mar 2019 06:44:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0PXH-00084l-Oq for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2019 06:44:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0PXG-0000EZ-UK for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2019 06:44:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44567) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0PXG-0000D4-FD for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2019 06:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h0PXG-0001Wp-An for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2019 06:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2019 11:44: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.15516134155835 (code B ref 34516); Sun, 03 Mar 2019 11:44:02 +0000 Original-Received: (at 34516) by debbugs.gnu.org; 3 Mar 2019 11:43:35 +0000 Original-Received: from localhost ([127.0.0.1]:58111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0PWo-0001W2-Sb for submit@debbugs.gnu.org; Sun, 03 Mar 2019 06:43:35 -0500 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:46831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0PWn-0001Vs-9c for 34516@debbugs.gnu.org; Sun, 03 Mar 2019 06:43:33 -0500 Original-Received: by mail-wr1-f45.google.com with SMTP id i16so2394528wrs.13 for <34516@debbugs.gnu.org>; Sun, 03 Mar 2019 03:43:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=cdcB2Hdj+EwRydvyImyKbETF3F7vszzSo215aSifMGs=; b=KFq7VZ57t56Y15J9EhIlUXJ+fCVj5VMr66osrkWNLdgxXuYz1D3EoFO0bBreHUQCEJ vEDjaX5IocLsEsY4Kq5PpzYwN+44/gLRkLPQHjX1SVaoIXskvDZGjKUzKhp8b+bzAXIj LEK2/8ApSMF/ujDmxgrDsvAzLRT/M3c6aXvngqVMaTj0RKLYaujjQBF6aBCxQIf2zTG6 sR3H1YK4LbyTKz4BT4i99KSNDntYFnFU2Jemew/i2VzIff8g3DffsL7fYXO69e7KgyYJ srIpKhzNgT/FQKAauqALGZZoNwBPbUaYvir3AXjMzFet0uc8t/Q5cemrC5TnQDxuGzvT o6Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=cdcB2Hdj+EwRydvyImyKbETF3F7vszzSo215aSifMGs=; b=gDzcfgW5p0TI17Hkj3jT0E8RSyuREhf7fTr9cY2ofV+H/HNrvoI8aJ3N56WYu6hc83 6SKfLDCrVDPfgEaWkdmcg7ZT9GZIq5tZsnddpAydWo9MzdZDnigP2JOS3wtUI/dnsFap OIYuvTV5/w8kZ1m2AWpsPba0ZS7VLJXEFWYK8QRn9b9Fx+X7Ydrd17u0F9gOW/wd04cd 0x6ubG80tWJ08/URmxAMRJZAVZLOCaPUsfrrwOKeDFcE3ojfwzRFUSsW82c2kZZ5qgcv rC0CtVVWuE1+8q3zmBGAkMn/BzU8+/Ai2V9LxnLsltx8GBpXY3A6oTF1/xDONH5a8BIi T8vQ== X-Gm-Message-State: APjAAAVsC87tfW7wPtkN1L1W7SLadTxrkKP82c4uCcDQRgU/SRdo4v+E 6NGxu5z6JTUvLV6QMumsF20= X-Google-Smtp-Source: APXvYqyFh9tCQ0W1hsy2L8iXUgCwELI4wtR3pvGHc1M5xAQ/vgWb3Y0W1gBD/V4LiOIs40ynQYEcrA== X-Received: by 2002:a5d:650d:: with SMTP id x13mr9434796wru.119.1551613407143; Sun, 03 Mar 2019 03:43:27 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-a434-efbf-3a29-731e.holly.idiocy.org. [2001:8b0:3f8:8129:a434:efbf:3a29:731e]) by smtp.gmail.com with ESMTPSA id y140sm13316963wmd.18.2019.03.03.03.43.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 03:43:26 -0800 (PST) Content-Disposition: inline In-Reply-To: <86r2bosuc0.fsf@gmail.com> 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:155992 Archived-At: On Sat, Mar 02, 2019 at 11:57:35PM +0000, Andy Moreton wrote: > On Sat 02 Mar 2019, Alan Third wrote: > > > On Sun, Feb 24, 2019 at 01:56:31PM +0100, Robert Pluim wrote: > >> Juri Linkov writes: > >> > >> > on macOS it could return something like that or generate fake names > >> > from geometry like "1920x1080+0+0", "2560x1440+1920+16". > > It would be more usefulr to use the underlying device name, like on other > platforms. It doesn’t look like macOS gives displays any sort of human readable name. The closest I can find is the monitor’s make and model, which appears to be lifted directly from the device driver. I expect if you have two identical monitors then it will be the same for both. > > Also, it might be worth considering using the ‘did’ value instead of > > ‘i’. As far as I can tell it’s just a uint32_t, and should stay the > > same as long as the system isn’t rebooted. > > Is the did value reused if monitors are dynamically plugged and > unplugged ? This may happen when using a laptop with docking > stations and external monitors. The documentation implies it may remain the same for the same monitor, but then again, maybe not. It’s not very clear. It shouldn’t be the same for two different monitors, though. -- Alan Third