Subject: bug#7270: 24.0.50; wish: emacs as WM: Being able to show arbitrary x-windows in emacs windows — as in ezbl, but universal.

From: Po Lu <[email-masked]>
Date: Tue, 10 May 2022 10:55:58 +0800

Lars Ingebrigtsen <[email-masked]> writes:

> Emacs gained xwidget support a few years back, so I'm closing this bug
> report.

N.B. that the bug report wasn't about xwidgets, it was about displaying
X windows in Emacs buffers.

But there in lies the problem: what if two Emacs windows want to display
the same X window at the same time?  Or across different displays?  The
former could be possible with clever use of the composite extension (and
the recently added scale and coordinate transforms), while the latter is
impossible to implement efficiently.

The X input extension (which is now on by default) will also interfere
with windows created by programs that don't understand it if they try to
parent themselves into a window tree created by Emacs.

So we don't want to add support for such a feature.