From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Guix Emacs: use XRandr rather than Gdk? Date: Tue, 12 Feb 2019 15:20:27 +0100 Message-ID: <87d0nxks0k.fsf@gnu.org> References: <87va1rxalq.fsf@jnanam.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtYvI-0004wd-VH for guix-devel@gnu.org; Tue, 12 Feb 2019 09:20:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtYvI-0001GE-3o for guix-devel@gnu.org; Tue, 12 Feb 2019 09:20:32 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:56768) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtYvH-000151-SN for guix-devel@gnu.org; Tue, 12 Feb 2019 09:20:32 -0500 In-Reply-To: <87va1rxalq.fsf@jnanam.net> (Benjamin Slade's message of "Sun, 10 Feb 2019 20:33:37 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Benjamin Slade Cc: Guix-devel Hi Benjamin, Benjamin Slade skribis: > In both flown-blown GuixSD as well as Guix on a foreign distro, Guix's > Emacs seems to use "Gdk" rather than "XRandr" to get screen/monitor > information. Every other packaged version of Emacs I've tried uses > "XRandr" to get screen/monitor information. This is an issue because > "Gdk" apparently doesn't know about individual screens/monitors, but > only about the aggregate area, whereas "XRandr" returns individual > screen names (e.g. "DVI-1") and their respective areas. This means that, > on multi-monitor, where Emacs packages use the `frame.el` library, there > is no way of distinguishing screens/monitors (problematically for > packages which try to make reference to different screens, > e.g. https://gitlab.com/emacsomancer/equake ). I thought I'd start here, > since I've only found this behaviour on Guix, and `frame.el` doesn't > seem to be very forthcoming about how it decides whether to use 'Gdk' or = 'XRandr'. Do you know what it would take to fix it? I suppose most Emacs users would prefer the =E2=80=9Ccorrect=E2=80=9D behavior. :-) Thanks, Ludo=E2=80=99.