diff options
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/vc/ediff-util.el | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 77432c00670..172af2f4efd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2013-02-13 Juri Linkov <juri@jurta.org> | 1 | 2013-02-13 Juri Linkov <juri@jurta.org> |
| 2 | 2 | ||
| 3 | * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus' | ||
| 4 | to select `ediff-control-frame' and set input focus correctly on Xfce. | ||
| 5 | (Bug#12218) | ||
| 6 | |||
| 7 | 2013-02-13 Juri Linkov <juri@jurta.org> | ||
| 8 | |||
| 3 | * image-mode.el (image-mode-map): | 9 | * image-mode.el (image-mode-map): |
| 4 | * doc-view.el (doc-view-mode-map): | 10 | * doc-view.el (doc-view-mode-map): |
| 5 | * vc/ediff-util.el (ediff-setup-keymap): | 11 | * vc/ediff-util.el (ediff-setup-keymap): |
diff --git a/lisp/vc/ediff-util.el b/lisp/vc/ediff-util.el index 3fcfcff9a74..fd53aabd33c 100644 --- a/lisp/vc/ediff-util.el +++ b/lisp/vc/ediff-util.el | |||
| @@ -787,7 +787,12 @@ Reestablish the default three-window display." | |||
| 787 | (frame-live-p ediff-control-frame) | 787 | (frame-live-p ediff-control-frame) |
| 788 | (not ediff-use-long-help-message) | 788 | (not ediff-use-long-help-message) |
| 789 | (not (ediff-frame-iconified-p ediff-control-frame))) | 789 | (not (ediff-frame-iconified-p ediff-control-frame))) |
| 790 | (raise-frame ediff-control-frame)) | 790 | (if (fboundp 'select-frame-set-input-focus) |
| 791 | (select-frame-set-input-focus ediff-control-frame) | ||
| 792 | (raise-frame ediff-control-frame) | ||
| 793 | (select-frame ediff-control-frame) | ||
| 794 | (if (fboundp 'focus-frame) | ||
| 795 | (focus-frame ediff-control-frame)))) | ||
| 791 | 796 | ||
| 792 | ;; Redisplay whatever buffers are showing, if there is a selected difference | 797 | ;; Redisplay whatever buffers are showing, if there is a selected difference |
| 793 | (let ((control-frame ediff-control-frame) | 798 | (let ((control-frame ediff-control-frame) |