From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: macOS: Cursor leaving traces when scrolling Date: Sun, 7 Oct 2018 17:30:40 -0400 Message-ID: References: <2D30F998-9417-4B47-955E-702503BF191F@gmail.com> <20181004215834.GB15008@breton.holly.idiocy.org> <20181007111444.GA4777@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1538947762 31304 195.159.176.226 (7 Oct 2018 21:29:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2018 21:29:22 +0000 (UTC) Cc: Emacs-Devel devel To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 23:29:18 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9Gc1-00081K-N0 for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2018 23:29:17 +0200 Original-Received: from localhost ([::1]:43562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9Ge7-0004wQ-RE for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2018 17:31:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9GdT-0004wK-NH for emacs-devel@gnu.org; Sun, 07 Oct 2018 17:30:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9GdQ-0007gH-Fw for emacs-devel@gnu.org; Sun, 07 Oct 2018 17:30:47 -0400 Original-Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:42855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9GdQ-0007g0-Bf for emacs-devel@gnu.org; Sun, 07 Oct 2018 17:30:44 -0400 Original-Received: by mail-qk1-x736.google.com with SMTP id g20-v6so10993722qke.9 for ; Sun, 07 Oct 2018 14:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jeoZ1FX4KhBqNrk5I5A46xQbcjmTBeAfTqmFa16RZDQ=; b=MJbS8dSyijvsiqqpSHoU+3lqQfNR8WFjhgtbQmOcxCqSfQmVCG818c+uwYqKMtE1ie rZlX4orGSDAFdlcEkvm3iN2rr8e7wIG6VJ6L+CKIfon1S2oML+U/9um0dmaFCZx9nDWn UZ4jUFPvYdUxWUkw1K8QlFKL6j6QGX/wINObBpFpfWdXRqK202AyZ+M0/PHSTkqjJ1bK fTrdFklNFARwF08ntyO2MY/cfW/6DvlX+qBzU7lVpgho2ZjmZGGk8bdUUA3by6bn0Ph+ 13JjN2D/xIIt5De/ztuqF2gVRPETGcPy8luO8ADyY4/CV6ubE0v9mWbqNTDmIOAIJMUH b28A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jeoZ1FX4KhBqNrk5I5A46xQbcjmTBeAfTqmFa16RZDQ=; b=EsE1wq9iPtFNH4/3X1j5xIWo9XjlOhZuPeAJlqQFvr4skJF5LENKWUIa2lhr2OHGRp SYDRgedHqbFjmTleC1YLfiyAl0/Gw0r0a6RNgiKfW7lnfJ+Dt4zQRt+r/6URW7aQo0Ee rHftjSFNnbRtxDBMlXUnTVjwQ+L35VOAYNK9nCQRF4Q6gak30l9oEtI37RmttIIqerHv +QlEKmV9n7QM7NNcd5odZOLoH+7K5EqrT9uu1u04eeZt9OrPxZa1Nr36fw2xlTQGep70 IjY4fSCSzCcMpz61rALl8VylBeo7pXK70fdra/HRYjKb/PtyyzFz9pcN4+/LJFKmyjnb vJRg== X-Gm-Message-State: ABuFfoj4L0KzVtlwXi5qrxpsPKCLm69Q1968k0DTzhCRpVNZ89l9BPN1 NnH6BXCz03Yh9h9mM/DPgCN9Q11VilRR X-Google-Smtp-Source: ACcGV60tMoX3HzjxufDsMwW7Ly9cuHfpwBHwETnWg5iiJxHKWVL0a9LidypiXQkO+IvA5R18cWqLgw== X-Received: by 2002:a37:bd05:: with SMTP id n5-v6mr16641230qkf.204.1538947843675; Sun, 07 Oct 2018 14:30:43 -0700 (PDT) Original-Received: from [10.2.7.166] (tenable.nga.gov. [199.16.64.3]) by smtp.gmail.com with ESMTPSA id k71-v6sm8560311qkh.30.2018.10.07.14.30.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Oct 2018 14:30:42 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3445.100.39) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::736 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230274 Archived-At: On Oct 7, 2018, at 3:31 PM, Alan Third 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];