unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: focus in ediff with many frames X/twm
Date: Sun, 01 May 2005 19:57:33 +0200	[thread overview]
Message-ID: <4275188D.5000906@swipnet.se> (raw)
In-Reply-To: <u64y4f2ox.fsf@boris.laptop>

Evil Boris wrote:

>"Jan D." <jan.h.d@swipnet.se> 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.

  reply	other threads:[~2005-05-01 17:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19 16:29 focus in ediff with many frames X/twm Evil Boris
2005-04-25 19:00 ` Jan D.
2005-04-30 20:07   ` Evil Boris
2005-05-01 17:57     ` Jan D. [this message]
2005-05-02 15:21       ` Richard Stallman
2005-06-16 16:22       ` Evil Boris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4275188D.5000906@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).