[ACR21.4] Fix `focus-frame' on X

Michael Sperber sperber at deinprogramm.de
Thu Oct 1 12:26:46 EDT 2009


Try this on X:

(let ((frame (selected-frame)))
  (make-frame)
  (focus-frame frame))

Note how the focus hasn't reverted to the original frame.  The problem
is that the timestamp passed to XSetInputFocus doesn't (always) match.

2009-10-01  Mike Sperber  <mike at xemacs.org>

	* frame-x.c (x_focus_on_frame): Use correct timestamp with
	XSetInputFocus.
-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://calypso.tux.org/pipermail/xemacs-patches/attachments/20091001/b2c2d24f/attachment-0003.pl 


More information about the XEmacs-Patches mailing list