Well, this one has led me a merry chase...and I'm still chasing.

        To recap the problem: it boils down to the need to suppress Xlib's
automatic grab when a mouse button is pressed, and the unwanted
LeaveNotify/EnterNotify
events generated by that grab; and it's the Leave/Enter events that
confuse Xtlib's double-click translation logic. This automatic grab used
to be overridden by our button grabs on the parent window, but that's
not happening at present.

        The problem seems to be mostly confined to focus.c: focus_grab_buttons,
which doesn't quite work as intended. I've hacked it up to the point
where it does what I think was intended. It seems to work pretty well,
except that it breaks MouseFocusClickRaises. There is clearly some
additional synchronization needed that I haven't figured out yet.

        Dominik, if I can't work out the remaining piece in a few days, I'd
like to send you a patch to see if you have any ideas. (I'd rather not
commit my changes as they stand now, knowing that they will break
something.)


Cheers,
Bob
--
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