From: Alan Third <alan@idiocy.org>
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: macOS: Cursor leaving traces when scrolling
Date: Sun, 7 Oct 2018 22:35:51 +0100 [thread overview]
Message-ID: <CABGBtwnbaH+tcU78g2gWFXVk4ghXro1Ociq12uzwYMT71v7gaQ@mail.gmail.com> (raw)
In-Reply-To: <DFE2A8AC-D3E1-4852-ACE6-67CC5DCD13AD@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
On Sun, 7 Oct 2018, 22:30 David Reitter, <david.reitter@gmail.com> wrote:
> On Oct 7, 2018, at 3:31 PM, Alan Third <alan@idiocy.org> 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.
>
[-- Attachment #2: Type: text/html, Size: 1267 bytes --]
next prev parent reply other threads:[~2018-10-07 21:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2D30F998-9417-4B47-955E-702503BF191F@gmail.com>
[not found] ` <20181004215834.GB15008@breton.holly.idiocy.org>
2018-10-06 12:06 ` macOS: Cursor leaving traces when scrolling David Reitter
2018-10-07 11:14 ` Alan Third
2018-10-07 18:36 ` David Reitter
2018-10-07 19:31 ` Alan Third
2018-10-07 21:30 ` David Reitter
2018-10-07 21:35 ` Alan Third [this message]
2018-10-07 21:40 ` David Reitter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABGBtwnbaH+tcU78g2gWFXVk4ghXro1Ociq12uzwYMT71v7gaQ@mail.gmail.com \
--to=alan@idiocy.org \
--cc=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).