Mercurial > hg > xemacs-beta
changeset 4706:7e79c8559ad1
Fix `focus-frame'.
2009-10-01 Mike Sperber <mike@xemacs.org>
* frame-x.c (x_focus_on_frame): Use correct timestamp with
XSetInputFocus.
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Thu, 01 Oct 2009 18:00:11 +0200 |
parents | 7b90173970ad |
children | 5bb0735f56e0 |
files | src/ChangeLog src/frame-x.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Sep 30 21:17:24 2009 +0200 +++ b/src/ChangeLog Thu Oct 01 18:00:11 2009 +0200 @@ -1,3 +1,8 @@ +2009-10-01 Mike Sperber <mike@xemacs.org> + + * frame-x.c (x_focus_on_frame): Use correct timestamp with + XSetInputFocus. + 2009-09-30 Aidan Kehoe <kehoea@parhasard.net> * mule-coding.c (fixed_width_putprop):
--- a/src/frame-x.c Wed Sep 30 21:17:24 2009 +0200 +++ b/src/frame-x.c Thu Oct 01 18:00:11 2009 +0200 @@ -2629,8 +2629,7 @@ XSetInputFocus (XtDisplay (shell_widget), XtWindow (shell_widget), RevertToParent, - DEVICE_X_MOUSE_TIMESTAMP - (XDEVICE (FRAME_DEVICE (f)))); + CurrentTime); XFlush (XtDisplay (shell_widget)); } }