aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1995-04-24 16:55:29 +0000
committerKarl Heuer <[email protected]>1995-04-24 16:55:29 +0000
commitd7266360d10c8adb04b6230141a6426a8f1e4549 (patch)
treea2b9d939c65ff5315c304028618d3e016a73e471 /src/frame.c
parent29e460bd82bbd0b6079878aa08763ecca119062c (diff)
(do_switch_frame): x_get_focus_frame needs an arg.
(Fredirect_frame_focus): frame_rehighlight_hook needs an arg.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index b95f8a04e7..ff6e7cd10a 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -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;
}