> Steps to reproduce:
> Just download any recent version of Eclipse, extract, and start it. Then try 
> dragging
> a view tab from one place to another inside Eclipse. Fvwm will hang 
> completely, one
> CPU core running at 100%; I have to switch to a console and kill the Java VM 
> to make
> things work again.
> 
> FvwmConsole (if opened beforehand) will display the following error:
> 
> FvwmConsole version 2.6.5
> [fvwm][ComplexFunction]: <<ERROR>> Grab failed in function 
> EWMHActivateWindowFunc,
> unable to execute immediate action

When exactly does this happen?  Does it also happen if you release the mouse 
button
befor the error message shows up?

It looks like Eclipse has asked fvwm to activate some window while it has 
grabbed
the pointer for dragging.  Fvwm reacts to this situation by grabbing the pointer
itself which could lead to a deadlock:  Fvwm waits for the grab while Eclipse 
waits
for some window to receive focus(?).  This is only a theory yet.  But an 
application
that would refuse to continue its work because one of its windows does not get 
the
focus would be pretty broken.

> Since I'm using both Fvwm and Eclipse professionally, I would really 
> appreciate any
> fixes and/or workaround suggestions.

Try

  destroyfunc EWMHActivateWindowFunc

as a workaround.  If fvwm does not have that function, it won't try to grab the
pointer.

I'll try if I can get Java running at home.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt

Reply via email to