diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-04-24 16:55:29 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-04-24 16:55:29 +0000 |
commit | fcbca24d3eadfc5c4db061a13be944c20a75d861 (patch) | |
tree | 590f0c15b1b4d4e42a2238a5098df4a9ca180b0a /src/frame.c | |
parent | c59be4b7260bf66423d3d416749c9a4315653d12 (diff) | |
download | emacs-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.c | 4 |
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; } |