Commit d7266360 authored by Karl Heuer's avatar Karl Heuer

(do_switch_frame): x_get_focus_frame needs an arg.

(Fredirect_frame_focus): frame_rehighlight_hook needs an arg.
parent 29e460bd
......@@ -455,7 +455,7 @@ do_switch_frame (frame, no_enter, track)
{
Lisp_Object focus, xfocus;
xfocus = x_get_focus_frame ();
xfocus = x_get_focus_frame (XFRAME (frame));
if (FRAMEP (xfocus))
{
focus = FRAME_FOCUS_FRAME (XFRAME (xfocus));
......@@ -1411,7 +1411,7 @@ The redirection lasts until `redirect-frame-focus' is called to change it.")
#endif
if (frame_rehighlight_hook)
(*frame_rehighlight_hook) ();
(*frame_rehighlight_hook) (XFRAME (focus_frame));
return Qnil;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment