unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: macOS: Cursor leaving traces when scrolling
Date: Sun, 7 Oct 2018 17:40:58 -0400	[thread overview]
Message-ID: <9BA72F2F-506D-491C-B75A-F25F832AE913@gmail.com> (raw)
In-Reply-To: <CABGBtwnbaH+tcU78g2gWFXVk4ghXro1Ociq12uzwYMT71v7gaQ@mail.gmail.com>

On Oct 7, 2018, at 5:35 PM, Alan Third <alan@idiocy.org> wrote:
> [[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.


Right.  So right now we have an EmacsView associated with the frame (FRAME_NS_VIEW).  One would want an subview of that for each window, each with its NSScrollView object.  

There could a lot implications to this.

Does the non-Cocoa API include NSScrollView?


      reply	other threads:[~2018-10-07 21:40 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
2018-10-07 21:40               ` David Reitter [this message]

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=9BA72F2F-506D-491C-B75A-F25F832AE913@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=alan@idiocy.org \
    --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).