From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.devel Subject: Re: nsterm.m: How to prevent _inactive_ window update from overreaching. Date: Tue, 11 Dec 2018 23:07:19 -0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1544598417 28214 195.159.176.226 (12 Dec 2018 07:06:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2018 07:06:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 12 08:06:52 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 1gWybc-0007Df-7V for ged-emacs-devel@m.gmane.org; Wed, 12 Dec 2018 08:06:52 +0100 Original-Received: from localhost ([::1]:42888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWydi-00043L-Aw for ged-emacs-devel@m.gmane.org; Wed, 12 Dec 2018 02:09:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWyd6-000431-JC for emacs-devel@gnu.org; Wed, 12 Dec 2018 02:08:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWyd1-0000oj-27 for emacs-devel@gnu.org; Wed, 12 Dec 2018 02:08:24 -0500 Original-Received: from gateway22.websitewelcome.com ([192.185.47.144]:25273) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gWycz-0000iz-LO for emacs-devel@gnu.org; Wed, 12 Dec 2018 02:08:18 -0500 Original-Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 984BFABEC for ; Wed, 12 Dec 2018 01:07:20 -0600 (CST) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id Wyc4geBt0957pWyc4gKqvW; Wed, 12 Dec 2018 01:07:20 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date: Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=LGhqyNPwdqc/Kp5DWjTH6/mNarZmzfxbBveAktC8k0M=; b=mFFW0QKM486VxttEFk46AMXB70 OW48/RtFNfno92bUzDlJgJ0v+gJ6KCGZNLYxdvUCgmGVTSbUDLK9acEgZ8uJ2vAXNMA2xELgAX3Ws rJayv1Z4svyIOr4ew3osXV30q09FZGP+tCwWoEnX92aeW2RENfJDhTIitBOjEKPd2qvhR+XUSLuYm 7jI1urtljtTB0Yoxyj302PEy+zC5C8YCNNHqskS+9As+d5mXvgBe+EJPoPm2yqxZI4Hwgh5DLxAHq io/+lmQMhRanktTybEJf/576LsDj0Wp9H/rO9BrVUIPgpOKmiT46u0OaqyZmYkORk8NOA+QASwEFa /H0QRLpg==; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:58697 helo=server.local) by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.91) (envelope-from ) id 1gWyc3-003SU9-NU; Wed, 12 Dec 2018 01:07:19 -0600 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.239.195 X-Source-L: No X-Exim-ID: 1gWyc3-003SU9-NU X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.local) [45.48.239.195]:58697 X-Source-Auth: lawlist X-Email-Count: 1 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.47.144 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:231772 Archived-At: Alan: I came up with two different approaches to resolve the issue described at the outset of this thread: A. Add the fake cursors to the list of dirty rectangles, and then ensure that those areas get drawn during the expose frame/window calls from drawRect. OR B. Subsequent to the call of the dirty rectangle loop within drawRect, add all of the fake cursors wherever needed (at the tail end of drawRect). I opted for the second approach and it appears to be working correctly. I anticipate having a next draft of feature requests 17684 and 22873 within the coming days. Thank you for the prior detailed explanations and helpful guidance -- greatly appreciated! Keith