summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-24 16:55:29 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-24 16:55:29 +0000
commitfcbca24d3eadfc5c4db061a13be944c20a75d861 (patch)
tree590f0c15b1b4d4e42a2238a5098df4a9ca180b0a /src/frame.c
parentc59be4b7260bf66423d3d416749c9a4315653d12 (diff)
downloademacs-fcbca24d3eadfc5c4db061a13be944c20a75d861.tar.gz
(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 b95f8a04e70..ff6e7cd10ac 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;
}