Hrvoje Niksic writes:
Kyle Jones <kyle_jones(a)wonderworks.com> writes:
> focus-frame is still crocked with regard to the frame selection
> hooks which means it may have to be commented out for the release.
It passed my initial tests. It should be no more broken than
`select-frame', because it (among other things) actually *calls*
select-frame.
Do you have a specific repeat-by procedure?
focus-follows-mouse == nil
Make three frames and
(add-hook 'deselect-frame-hook 'redraw-frame)
Then use focus-frame to focus on another frame. The redraw happens
in the wrong frame.
If instead you add redraw-frame to select-frame-hook and use
focus-frame, the correct frame gets the redraw. But if you then
move the mouse into a third frame, the first frame (the one that
used to have the focus) is redrawn, which suggests some internal
confusion about which frame is being selected.