From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: multiple monitor detection Date: Mon, 21 Oct 2024 16:00:30 +0200 Message-ID: <87h695pncx.fsf@gmail.com> References: <87r089vm1f.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8158"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 21 16:01:24 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t2syJ-0001q5-N5 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Oct 2024 16:01:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2sxm-0004E8-PT; Mon, 21 Oct 2024 10:00:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2sxc-0004DS-TN for help-gnu-emacs@gnu.org; Mon, 21 Oct 2024 10:00:49 -0400 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2sxZ-0004t7-Fg for help-gnu-emacs@gnu.org; Mon, 21 Oct 2024 10:00:39 -0400 Original-Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4316a44d1bbso18056315e9.3 for ; Mon, 21 Oct 2024 07:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729519233; x=1730124033; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date:message-id:reply-to; bh=GS9g25SkURCX7WaH6PGB8rhTjjM5JBUy9kPWE10D4qU=; b=T0I5t3XLk7+ICuF+0rbMAc3V2rQLIjT4a8nEhisQio1gDK+2NIt2embU1X7pp6QnWo WJrXxtOzpGXCAsQt8IzkXayG2jRTJVKjTBMv0nZxGICoUa2/XRMlFeXdubk4/LT9i77h aj4al50NbEBPSFOBH8uV0hjr6PepiW5XE9nczuI8TpncT0p5l9aBKzGV0/wVDqUBk6t1 i1HpBarsR4psHwxocdSbU7jLSwoY+E/UhjOgl5qp6D1mW2nT8ZfumSnyXlZJzjKJebe2 5ARYFDmSY9MoJnu1oW+IZXxDjIo8hosQQmRHZAWScb0DcddOQNM3C4r3MK9XCptgToPp 3FvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729519233; x=1730124033; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GS9g25SkURCX7WaH6PGB8rhTjjM5JBUy9kPWE10D4qU=; b=GUHQxg60mJbVB4FhFz9Wym4y6xf2ZB9/kpGqLLibbIBOJ2+YDwEauelHmMg7/ymAX/ B+DJz9ldZDKpdqZFx2tcQPk3PGqPKCz3dFGk1XezJwNLkVR0IhXUrDNoJomYZmxf4hGU PV6w+bEvJMjfqxYZeYRBwo14+jHnhXKenDz5rPpgwG8zD+GeznRgJikqhG6sqzgr8ac1 Bcr15Edysja5eN9R5DR2MHpHCLV9QSEhQYCeLXBCOb5qkS2AW1yRrmnwlRoRJroZJpYJ bDhHoMahTWQlYVDaaYA9cvomCIly2XWqfMt3eko2SPfPiFeDuiuJuH+8xYLV6f25y5Rd uU0Q== X-Gm-Message-State: AOJu0Yyw5ulIL+IGK1wRn/KL4Gb4BjTggRDNCGMyyIKPNqrxJCEv+bJZ U1C1fMDdUHlJOya7Nrc1Ex/EJ4A/GWetrD4fenzgXyNvFVLiC1oXJPwnAw== X-Google-Smtp-Source: AGHT+IGuwGRzxZintpAhyMtahhhITn0DPnjr+tdd/31GSYBUJ8HZ3eG8bumwla5H89xlXF2vGkNa2g== X-Received: by 2002:a05:600c:1554:b0:431:58b3:affa with SMTP id 5b1f17b1804b1-43161642df5mr99401175e9.9.1729519232273; Mon, 21 Oct 2024 07:00:32 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb51:98b6:53c9:72b3:c676]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4316f5cc57esm57422825e9.48.2024.10.21.07.00.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 07:00:31 -0700 (PDT) In-Reply-To: <87r089vm1f.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Mon, 21 Oct 2024 11:32:28 +0200") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148203 Archived-At: >>>>> On Mon, 21 Oct 2024 11:32:28 +0200, =C3=93scar Fuentes said: =C3=93scar> Anyways, depending on xrandr is a bit too specific, isn't i= t? With =C3=93scar> Wayland becoming more and more used, but maybe the GTK Wayl= and port does =C3=93scar> the right thing already on this regard. The Emacs pgtk build uses gdk functions to get the monitor info. What they do internally I have no idea, but they get the right answers on Waylan= d. Robert --=20