On Thu, May 30, 2002 at 12:22:42AM +0200, Jan Echternach wrote:
> On Wed, May 29, 2002 at 02:04:06PM +0200, Dominik Vogt wrote:
> > > That diagnosis was too quick.  The netscape window actually loses the
> > > focus as it should, but the color map of the root window is not restored.
> 
> > Can you please give me step by step instructions to reproduce the
> > problem, including the relevant config lines?  I don't know how to
> > test this in the first place, but I think the colour map focus and
> > the keyboard focus should stay in the same window.
> 
> Open a window (e.g. "netscape -install", "xv -owncmap"), move pointer into
> window, move pointer out of window (to the root window).  Now the xv or
> netscape window has its color map still installed (i.e. it looks good,
> the rest of the screen is garbled), but the application's key bindings
> are no longer active ('q' doesn't quit xv etc.).  The root window's key
> bindings are active instead (e.g. F1 opens fvwm's builtin menu).

I can reproduce this.  Since you didn't include any focus policy
or colormapfocus command, I assume you are using the defaults:

  Style * MouseFocus
  ColormapFocus FollowsMouse

It's correct that the window does not receive keyboard input in
this case, but the colormap should always be restored to the root
colormap.  Since it depends on how fast you move the pointer, I
guess the reason is that the map is restored properly if the
pointer does not enter the window border first.  I'll take care of
this problem.  Other than that, the behaviour is correct.  From
what you write I assume you might be happier with

  Style * SloppyFocus
  ColormapFocus FollowsFocus

though.

> I have noticed a short screen flicker when the pointer is moved out
> of an xv window to its border or title bar.

I don't see this, but it sounds as if the root colormap is
restored for a moment before the xv colormap is activated again.
Perhaps I can see something with some debug messages.

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to