[Top][All Lists]

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

Re: macOS: Cursor leaving traces when scrolling

From: Alan Third
Subject: Re: macOS: Cursor leaving traces when scrolling
Date: Sun, 7 Oct 2018 22:35:51 +0100

On Sun, 7 Oct 2018, 22:30 David Reitter, <address@hidden> wrote:
On Oct 7, 2018, at 3:31 PM, Alan Third <address@hidden> wrote:

> As you say it would be better to use proper scrolling without scrollRect, but I don't see any obvious way to do it. I suspect I just don't have enough knowledge of the cocoa APIs.

Remove the EmacsScroller machinery (for the Cocoa API), create a NSScrollView that wraps around the EmacsView (NSView):

[[scrollView contentView]addSubview: self];

Wouldn't we need one scrollView for each Emacs window? We'd need to hook into Emacs window resizing and so on. I don't think that's directly exposed to the NS code.

reply via email to

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