At 05:13 PM 9/10/2001 +0000, Golubev I. N. wrote:
> We ignore the frame reported in the event. If it's
different
> from where we think the focus was, oh well -- we messed up.
> Nonetheless, we pretend we were right, for sensible behavior.
And this ignoring does not work for me, the messing up really occurs.
Without this comment I would just change this, but now that it is
there, I need to know, what is the `sensible behavior' it achieves and
why can not it be done otherwise. In particular, what harm will the
patch below cause?
The focus code is really hairy, and I have a feeling that there were a
number of occasions where XEmacs and X would disagree on who had focus - so
I think we are talking a brute force approach here. IIRC doing this was
less annoying than always assuming X was right. Maybe we should check your
patch into 21.5 and see if people see any problems.
andy