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: Re: mouse-autoselect-window Date: Sat, 08 Sep 2007 10:00:31 +0300 Message-ID: References: <87odgff933.fsf@jbms.ath.cx> <46E112BD.80705@gmx.at> <38367.128.165.123.18.1189180468.squirrel@webmail.lanl.gov> <46E1F0F3.8010507@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1189234851 31934 80.91.229.12 (8 Sep 2007 07:00:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2007 07:00:51 +0000 (UTC) Cc: rudalics@gmx.at, jeremy@jeremyms.com, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 08 09:00:51 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITuJF-00042b-1s for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2007 09:00:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITuJC-0006pQ-JQ for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2007 03:00:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITuJ9-0006pK-Dv for emacs-devel@gnu.org; Sat, 08 Sep 2007 03:00:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITuJ7-0006p8-3V for emacs-devel@gnu.org; Sat, 08 Sep 2007 03:00:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITuJ7-0006p5-0G for emacs-devel@gnu.org; Sat, 08 Sep 2007 03:00:41 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ITuJ1-0008L5-Cc; Sat, 08 Sep 2007 03:00:35 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITuJ0-0007Uc-Fo; Sat, 08 Sep 2007 03:00:34 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-141-251.inter.net.il [80.230.141.251]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DOL46349 (AUTH halo1); Sat, 8 Sep 2007 10:00:29 +0300 (IDT) In-reply-to: <46E1F0F3.8010507@gnu.org> (message from Jason Rumney on Sat, 08 Sep 2007 01:46:43 +0100) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78219 Archived-At: > Date: Sat, 08 Sep 2007 01:46:43 +0100 > From: Jason Rumney > Cc: herring@lanl.gov, rudalics@gmx.at, jeremy@jeremyms.com, > drew.adams@oracle.com, emacs-devel@gnu.org > > If you use a focus follows mouse policy on Windows and set > focus-follows-mouse to nil, what happens when you start an ediff > session then move the mouse slightly (keeping it over the main > frame)? (You need to set ediff-grab-mouse to nil as well, without it Ediff always moves the mouse pointer to the Ediff control frame, which I think defeats the test you had in mind.) When I set both focus-follows-mouse and ediff-grab-mouse to nil, starting an Ediff session switches the focus to the Ediff control frame, but the mouse pointer stays in the main frame. Moving the mouse pointer doesn't change the focus; only if I cross the frame's boundary the focus switches to another frame. My conclusion is that on Windows, the "focus follows mouse" policy (btw, it's called "active window tracking" in MS-Windows parlance) is triggered only when mouse enters/exits a frame, not when mouse moves.