emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: scroll-bars


From: Helmut Eller
Subject: Re: MPS: scroll-bars
Date: Sun, 05 May 2024 09:53:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Sun, May 05 2024, Gerd Möllmann wrote:

> I believe the frame::condemned_scroll_bars is okay on NS as it is now.
> With all caveats as usual.

I have a hunch that those would need weak references to work as
intended.  But I'm happy to let them leak for now.

Below is my patch for the scroll-bars.  I went for the indirection layer
solution.  Though, the mark-and-sweep pool idea might be more broadly
usable; with so many different GUI toolkits it's hard to say.

I also had a problem with the tool-bar, triggered by this test:
(dotimes (i 40)
  (igc--collect)
  (message "%S" (make-list i nil))
  (redisplay))

The third patch stops allocating glyph matrices as ambiguous roots.
Seems to work for me.

Attachment: 0001-Fix-scroll-bars-for-GTK.patch
Description: Text Data

Attachment: 0001-Make-xg_frame_tb_info-an-ambiguous-root.patch
Description: Text Data

Attachment: 0001-Glyph-matrices-don-t-need-to-be-ambiguous-roots.patch
Description: Text Data


reply via email to

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