From xemacs-m  Fri Dec 20 11:37:20 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id LAA14872 for <xemacs-beta@xemacs.org>; Fri, 20 Dec 1996 11:37:19 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id JAA14651; Fri, 20 Dec 1996 09:47:08 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: Bug in find-file-other-frame
References: <199612201507.QAA20781@daedalus.tnt.uni-hannover.de>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Heiko Muenkel's message of Fri, 20 Dec 1996 16:07:42 +0100
Mime-Version: 1.0 (generated by tm-edit 7.97)
Content-Type: text/plain; charset=US-ASCII
Date: 20 Dec 1996 09:47:07 -0800
Message-ID: <m27mmdaz1g.fsf@altair.xemacs.org>
Lines: 40
X-Mailer: Red Gnus v0.72/XEmacs 20.0

>>>>> "Heiko" == Heiko Muenkel <muenkel@tnt.uni-hannover.de> writes:

Heiko> XEmacs 19.15 Beta 5:

Presumably you mean beta 4, since beta 5 isn't out yet?

Heiko> Assume the following:
 
Heiko> 1. The current frame is frame-1

Heiko> 2. In frame-1 the file foo-1 is displayed

Heiko> 3. Run the command `M-x find-file-other-frame' to load a file foo-2 in
Heiko>    a new frame frame-2.

Heiko> What now happens depends on the position of the mouse
Heiko> pointer. If the mouse pointer is after the frame creation over
Heiko> the frame-2, then frame-1 is correctly displaying file foo-1
Heiko> and frame-2 the file foo-2.  But if the mouse pointer is after
Heiko> the frame creation in frame-1, then the file foo-1 is displayed
Heiko> in frame-2 and file foo-2 is displayed in frame-1 and that is a
Heiko> bug. It's realy annoying, if frame-1 has multiple windows and
Heiko> one had used `M-x find-file-other-frame' to retain the window
Heiko> configuration of frame-1.

I agree that this sounds annoying.  What options are you using?  I
made a code change in this area for beta 3, (but not beta 4) and it
involved addition of the boolean variable `focus-follows-mouse'.
There should not have been any change when that variable is nil.

I cannot duplicate your results with `focus-follows-mouse' set (and
the X Window manager in focus follows mouse).

If you have `focus-follows-mouse' set, but your window manager is
click to type, turn off `focus-follows-mouse'.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

