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:05:06 +0300 Message-ID: References: <87odgff933.fsf@jbms.ath.cx> <46E112BD.80705@gmx.at> <38367.128.165.123.18.1189180468.squirrel@webmail.lanl.gov> <33129.128.165.123.18.1189194400.squirrel@webmail.lanl.gov> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1189235125 32495 80.91.229.12 (8 Sep 2007 07:05:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2007 07:05:25 +0000 (UTC) Cc: jeremy@jeremyms.com, emacs-devel@gnu.org To: herring@lanl.gov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 08 09:05:25 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 1ITuNa-0004m0-VM for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2007 09:05:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITuNY-00085d-VT for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2007 03:05:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITuNW-00085Y-8L for emacs-devel@gnu.org; Sat, 08 Sep 2007 03:05:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITuNV-00085M-1K for emacs-devel@gnu.org; Sat, 08 Sep 2007 03:05:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITuNU-00085J-Tt for emacs-devel@gnu.org; Sat, 08 Sep 2007 03:05:12 -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 1ITuNU-00015o-8d for emacs-devel@gnu.org; Sat, 08 Sep 2007 03:05:12 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITuNT-0001cr-Ke for emacs-devel@gnu.org; Sat, 08 Sep 2007 03:05:11 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-141-251.inter.net.il [80.230.141.251]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IVM58893 (AUTH halo1); Sat, 8 Sep 2007 10:04:56 +0300 (IDT) In-reply-to: <33129.128.165.123.18.1189194400.squirrel@webmail.lanl.gov> (herring@lanl.gov) 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:78220 Archived-At: > Date: Fri, 7 Sep 2007 12:46:40 -0700 (PDT) > From: "Davis Herring" > Cc: rudalics@gmx.at, drew.adams@oracle.com, jeremy@jeremyms.com, > emacs-devel@gnu.org > > >> IIUC it would be -necessary- to do so if point-to-focus were enabled, > >> just > >> as it is on X with that policy. > > > > No, it isn't necessary. The fact that it's necessary on X is because > > there's no better way. But MS-Windows doesn't have that problem, so > > there's no need for that kludge. > > If you have point-to-focus enabled, and something programmatically > switches your focus to a window that the mouse is not over, and you move > the mouse (possibly over various windows, perhaps to get back to the > focused window), it doesn't snap focus back to the mouse? No. As I wrote in reply to Jason's question, focus is switched only when mouse crosses a frame boundary, just moving it within a frame that doesn't have focus does not yet give back focus to that frame. > When would it resume the point-to-focus policy? "Resume policy" implies that the policy was suspended. But it wasn't suspended, it's just that on MS-Windows focus is switched only when mouse enters or exits a frame, not because the mouse pointer moved.