[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multimedia dashboard in GNU Emacs
From: |
Po Lu |
Subject: |
Re: Multimedia dashboard in GNU Emacs |
Date: |
Thu, 30 Dec 2021 09:02:02 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
Aiko Kyle <aikokyle@gmail.com> writes:
> I think that the question of how well an xwidget obeys "the emacs
> paradigm" depends on the content it's displaying. If it were a button
> or some other element in a larger button, I agree that the current
> model fits the emacs way well enough. However I think when the xwidget
> is the only element in a buffer and takes up a large portion or even
> the whole window, then I think the correct paradigm would resemble
> something like doc-view, where the two widow's xwidgets can show
> different views if they have some notion of scrolling.
I think Doc View uses per-window overlays to achieve that, which you can
also do with xwidgets.
> This is the current implementation that Po Lu has fixed various
> flickering bugs on master for xwidgets on x.
That was the old implementation as well, but it used GDK windows instead
of X windows, which could be painted over by Emacs drawing commands, and
caused flickering.
That doesn't make sense with a GtkSocket, because it uses XEmbed
under-the-hood, which basically tells some other program where to place
a window. A GtkSocket does no drawing by itself.
A better solution would be to redirect a window (given an XID) to some
off-screen pixmap, and to display that pixmap in every window instead.
- Multimedia dashboard in GNU Emacs, Anand Tamariya, 2021/12/24
- Re: Multimedia dashboard in GNU Emacs, Lars Ingebrigtsen, 2021/12/24
- Re: Multimedia dashboard in GNU Emacs, Po Lu, 2021/12/24
- Re: Multimedia dashboard in GNU Emacs, Anand Tamariya, 2021/12/26
- Re: Multimedia dashboard in GNU Emacs, Po Lu, 2021/12/27
- Re: Multimedia dashboard in GNU Emacs, Aiko Kyle, 2021/12/28
- Re: Multimedia dashboard in GNU Emacs, joakim, 2021/12/29
- Re: Multimedia dashboard in GNU Emacs, Aiko Kyle, 2021/12/29
- Re: Multimedia dashboard in GNU Emacs, joakim, 2021/12/29
- Re: Multimedia dashboard in GNU Emacs, Aiko Kyle, 2021/12/29
- Re: Multimedia dashboard in GNU Emacs,
Po Lu <=
- Re: Multimedia dashboard in GNU Emacs, Aiko Kyle, 2021/12/29
- Re: Multimedia dashboard in GNU Emacs, Po Lu, 2021/12/29
- Re: Multimedia dashboard in GNU Emacs, Aiko Kyle, 2021/12/29
- Re: Multimedia dashboard in GNU Emacs, Po Lu, 2021/12/29
- Re: Multimedia dashboard in GNU Emacs, Aiko Kyle, 2021/12/30
- Re: Multimedia dashboard in GNU Emacs, Po Lu, 2021/12/30
- Re: Multimedia dashboard in GNU Emacs, Aiko Kyle, 2021/12/30
- Re: Multimedia dashboard in GNU Emacs, Po Lu, 2021/12/30
Re: Multimedia dashboard in GNU Emacs, Anand Tamariya, 2021/12/26