all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Benjamin Slade <beoram@gmail.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Guix Emacs: use XRandr rather than Gdk?
Date: Tue, 12 Feb 2019 15:59:13 +0100	[thread overview]
Message-ID: <87ftstjbni.fsf@elephly.net> (raw)
In-Reply-To: <87va1rxalq.fsf@jnanam.net>


Benjamin Slade <beoram@gmail.com> writes:

> 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'.

This is done by x-display-monitor-attributes-list, which is defined in
src/xfns.c.  It uses Gdk when Emacs is configured to USE_GTK (the code
that sets the source to “Gdk” is in an #ifdef).

We build Emacs with GTK+, but … we may not need to do this as Emacs is
not a regular GTK client.  I recall that there are other oddities when
using GTK, such as crashes when disconnecting from a remote Emacs
daemon, which only happens with a GTK build of Emacs.

There may be another way to get a fully graphical Emacs without having
to build with GTK.

--
Ricardo

  parent reply	other threads:[~2019-02-12 15:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-11  3:33 Guix Emacs: use XRandr rather than Gdk? Benjamin Slade
2019-02-12 14:20 ` Ludovic Courtès
2019-02-12 14:59 ` Ricardo Wurmus [this message]
2019-02-12 15:22   ` Pierre Neidhardt
2019-02-12 16:19     ` Benjamin Slade
2019-02-14  3:09   ` Benjamin Slade
2019-02-14 14:35     ` Pierre Neidhardt
2019-02-18  4:54       ` Benjamin Slade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftstjbni.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=beoram@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.