mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
Disable DMABUF and Compositing for xwidget
Webkit does not support DMABUF or accelerated compositing in the offscreen widgets Emacs uses for xwidget. Disable both for non-pgtk GTK3 builds (Bug#80834). * src/xterm.c (init_xterm): Set WEBKIT_DISABLE_DMABUF_RENDERER and WEBKIT_DISABLE_COMPOSITING_MODE when built with xwidgets and not pgtk. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
2c5b4911b3
commit
def15c1b97
|
|
@ -32364,6 +32364,13 @@ static struct textconv_interface text_conversion_interface =
|
|||
void
|
||||
init_xterm (void)
|
||||
{
|
||||
#if defined(HAVE_XWIDGETS) && !defined(HAVE_PGTK)
|
||||
/* Emacs uses off-screen gtk widgets for webkit views, which do not support
|
||||
DMABUF or Compositing Mode; webkit aborts unless we disable those. */
|
||||
xputenv ("WEBKIT_DISABLE_DMABUF_RENDERER=1");
|
||||
xputenv ("WEBKIT_DISABLE_COMPOSITING_MODE=1");
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_XINPUT2
|
||||
/* Emacs can handle only core input events when built without XI2
|
||||
support, so make sure Gtk doesn't use Xinput or Xinput2
|
||||
|
|
|
|||
Loading…
Reference in a new issue