From: Paul Eggert <eggert@cs.ucla.edu>
To: 44204@debbugs.gnu.org
Subject: bug#44204: Emacs --with-xwidgets complains under Wayland
Date: Sat, 24 Oct 2020 17:00:23 -0700 [thread overview]
Message-ID: <a11113c5-3ad5-7c8c-19b8-12fa93352f56@cs.ucla.edu> (raw)
Under Ubuntu 20.04.1 LTS x86-64, when I use './configure --with-xwidgets' and
run Emacs in the default windowing environment (which is Gnome under Wayland),
simple xwidgets functions do not seem to work. For example:
(make-xwidget 'webkit "title" 500 500 '())
causes the following to appear on stderr:
(emacs:139090): Gdk-WARNING **: 16:53:59.652:
../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
(emacs:139090): Gdk-WARNING **: 16:53:59.652:
../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
(emacs:139090): Gdk-WARNING **: 16:53:59.652:
../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Apparently the Emacs xwidgets code assumes native X11, but Emacs is running
under Wayland, not native X11.
I observe the problem when running Emacs 26.3, Emacs 27.1, and Emacs savannah
master, so it's not a new problem.
A simple workaround is to not use --with-xwidgets; this is now Debian and Ubuntu
build the Emacs 26.3 that they distribute, at any rate.
next reply other threads:[~2020-10-25 0:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-25 0:00 Paul Eggert [this message]
2020-10-25 0:24 ` bug#44204: Emacs --with-xwidgets complains under Ubuntu 20.04 Paul Eggert
2020-10-25 5:51 ` bug#44204: Emacs --with-xwidgets complains under Wayland Bhavin Gandhi
2020-10-25 17:25 ` bug#44204: Emacs --with-xwidgets complains under Ubuntu 20.04 Paul Eggert
2020-10-25 17:35 ` Lars Ingebrigtsen
2021-12-08 20:23 ` Stefan Kangas
2021-12-08 21:12 ` Paul Eggert
2021-12-08 22:06 ` Stefan Kangas
2021-12-09 0:32 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-09 1:35 ` Paul Eggert
2021-12-09 2:20 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-12 10:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-25 13:19 ` bug#44204: Emacs --with-xwidgets complains under Wayland Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a11113c5-3ad5-7c8c-19b8-12fa93352f56@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=44204@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).