From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Changes in revno 100600 on the emacs-23 branch Date: Sat, 18 Jun 2011 19:40:44 +0300 Message-ID: <83k4cjw0s3.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1308415398 21181 80.91.229.12 (18 Jun 2011 16:43:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2011 16:43:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 18 18:43:14 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QXyc6-0006Cg-6a for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2011 18:43:14 +0200 Original-Received: from localhost ([::1]:50717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXyc5-0002zx-Af for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2011 12:43:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXybl-0002yr-U1 for emacs-devel@gnu.org; Sat, 18 Jun 2011 12:42:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXybj-0006oB-MY for emacs-devel@gnu.org; Sat, 18 Jun 2011 12:42:53 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:65392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXybj-0006na-5v for emacs-devel@gnu.org; Sat, 18 Jun 2011 12:42:51 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LMZ00200VRAX100@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 18 Jun 2011 19:42:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.244.163]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LMZ0018LVR6OIK0@a-mtaout22.012.net.il>; Sat, 18 Jun 2011 19:42:43 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140652 Archived-At: > From: emacs-diffs-request@gnu.org > Date: Sat, 18 Jun 2011 12:00:13 -0400 > > Date: Sat, 18 Jun 2011 09:37:38 +0900 > From: YAMAMOTO Mitsuharu > To: emacs-diffs@gnu.org > Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100600: * dispnew.c > (scrolling_window): Before scrolling, turn off a mouse-highlight in > the window being scrolled. > > === modified file 'src/dispnew.c' > --- a/src/dispnew.c 2011-05-25 03:06:05 +0000 > +++ b/src/dispnew.c 2011-06-18 00:37:38 +0000 > @@ -5206,6 +5206,7 @@ > /* Copy on the display. */ > if (r->current_y != r->desired_y) > { > + rif->clear_window_mouse_face (w); > rif->scroll_run_hook (w, r); Why do you do this inside the loop? Mouse highlight needs only be turned off once, right? And no code inside the loop seems to turn it back on, right? And btw, where's the code that will turn mouse highlight back on after this?