unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44204: Emacs --with-xwidgets complains under Wayland
@ 2020-10-25  0:00 Paul Eggert
  2020-10-25  0:24 ` bug#44204: Emacs --with-xwidgets complains under Ubuntu 20.04 Paul Eggert
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Paul Eggert @ 2020-10-25  0:00 UTC (permalink / raw)
  To: 44204

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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-12-12 10:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-25  0:00 bug#44204: Emacs --with-xwidgets complains under Wayland Paul Eggert
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

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