mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
(Fredirect_frame_focus): Don't call Ffocus_frame.
This commit is contained in:
parent
fde7aff8e2
commit
1d512c6de7
@ -1617,13 +1617,6 @@ The redirection lasts until `redirect-frame-focus' is called to change it.")
|
||||
|
||||
XFRAME (frame)->focus_frame = focus_frame;
|
||||
|
||||
/* I think this should be done with a hook. */
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
if (!NILP (focus_frame) && ! EQ (focus_frame, frame)
|
||||
&& (FRAME_WINDOW_P (XFRAME (focus_frame))))
|
||||
Ffocus_frame (focus_frame);
|
||||
#endif
|
||||
|
||||
if (frame_rehighlight_hook)
|
||||
(*frame_rehighlight_hook) (XFRAME (frame));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user