From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: focus in ediff with many frames X/twm Date: Sun, 01 May 2005 19:57:33 +0200 Message-ID: <4275188D.5000906@swipnet.se> References: <426D3E3C.8090309@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114974702 15566 80.91.229.2 (1 May 2005 19:11:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 May 2005 19:11:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 01 21:11:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DSJqQ-0006J6-Vb for ged-emacs-devel@m.gmane.org; Sun, 01 May 2005 21:11:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSJxB-0002fO-Li for ged-emacs-devel@m.gmane.org; Sun, 01 May 2005 15:18:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DSIrW-0002Em-38 for emacs-devel@gnu.org; Sun, 01 May 2005 14:08:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DSIrU-0002Dr-Av for emacs-devel@gnu.org; Sun, 01 May 2005 14:08:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSIlV-0007vs-FC for emacs-devel@gnu.org; Sun, 01 May 2005 14:02:01 -0400 Original-Received: from [195.54.107.79] (helo=mxfep04.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DSImG-00038a-I8 for emacs-devel@gnu.org; Sun, 01 May 2005 14:02:48 -0400 Original-Received: from gx01.bredband.com ([83.226.180.210] [83.226.180.210]) by mxfep04.bredband.com with ESMTP id <20050501175828.RNEX2351.mxfep04.bredband.com@gx01.bredband.com>; Sun, 1 May 2005 19:58:28 +0200 Original-Received: from coolsville.localdomain ([83.226.180.210]) by gx01.bredband.com with ESMTP id <20050501175612.GWAK14736.gx01.bredband.com@coolsville.localdomain>; Sun, 1 May 2005 19:56:12 +0200 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: Evil Boris In-Reply-To: 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:36551 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36551 Evil Boris wrote: >"Jan D." writes: > > > >>Evil Boris wrote: >> >> >> >>>This seems to work properly in 21.3, but not in current/recent CVS. >>>This is on Solaris running twm as the window manager. >>> >>>If I invoke ediff, say to compare two files, ediff starts a little >>>separate "control frame". >>> >>>-- On Windows, this frame gets focus and the pointer gets warped there. >>>-- On Linux/Sawfish, the same. >>>-- On Solaris/twm (focus follows pointer), the X pointer gets warped >>> into the bottom right corner of the screen! >>> >>>Any ideas/comments? Can anyone reproduce this behavior? >>> >>> >>> >>I can not be reproduce this on Solaris 9. >> >> > >I am on Solaris 7. Do not see how it should matter, though. Any >hints on how I would go about tracking this down? A really primitive >test of the pointer positioning function seems to indicate it works! > I can actually reproduce this on any platform with any window manager now. There is a tiny interval between giving the two files/buffers for ediff to compare and when the small ediff window is popped up. If I move the mouse in that interval the pointer is warped to the bottom right corner. Also, if after I have given the two files/buffers and the pointer is not over any Emacs frame, ediff will warp the pointer to the bottom right corner. The warping code in ediff was not immediately obvious, I think an ediff expert should take a look at this. It may have something to do with focus on click or focus follows pointer. It looks like an ediff specific problem. Jan D.