help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PGTK+ warning


From: Po Lu
Subject: Re: PGTK+ warning
Date: Tue, 15 Nov 2022 18:37:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Alessandro Bertulli <alessandro.bertulli96@gmail.com> writes:

> I managed to compile the latest version of Emacs. I enabled the PGTK+
> feature, and now when I start Emacs I got the warning (in a GTK warning
> dialog box) that says:
>
> "You are trying to run Emacs configured with the "pure-GTK" interface
> under the X Window System. That configuration is unsupported and will
> lead to sporadic crashes during transfer of large selection data. It
> will also lead to various problems with keyboard input."
>
> Note that I am on Wayland, but for some reason (that I'll investigate)
> XWayland seem to take precedence, so effectively I'm on X, I suppose.

Is WAYLAND_DISPLAY set?

> For now, I don't have any issues of the one described, but I wondered:
>
> 1) Why do I see this warning? Isn't PGTK supported? Is Xorg the problem?

PGTK isn't supported under the X Window system.  The reason is a
combination of GTK being a very lousy toolkit and us not wanting to
maintain code that only runs under the GDK X11 backend when there is
working code in the regular X builds.

> 2) Is there a way to disable this pop up?

We'd rather not.  You really shouldn't be running the PGTK build under
an X server.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]