aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-04-24 16:55:29 +0000
committerKarl Heuer1995-04-24 16:55:29 +0000
commitd7266360d10c8adb04b6230141a6426a8f1e4549 (patch)
treea2b9d939c65ff5315c304028618d3e016a73e471 /src
parent29e460bd82bbd0b6079878aa08763ecca119062c (diff)
downloademacs-d7266360d10c8adb04b6230141a6426a8f1e4549.tar.gz
emacs-d7266360d10c8adb04b6230141a6426a8f1e4549.zip
(do_switch_frame): x_get_focus_frame needs an arg.
(Fredirect_frame_focus): frame_rehighlight_hook needs an arg.
Diffstat (limited to 'src')
-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)
455 { 455 {
456 Lisp_Object focus, xfocus; 456 Lisp_Object focus, xfocus;
457 457
458 xfocus = x_get_focus_frame (); 458 xfocus = x_get_focus_frame (XFRAME (frame));
459 if (FRAMEP (xfocus)) 459 if (FRAMEP (xfocus))
460 { 460 {
461 focus = FRAME_FOCUS_FRAME (XFRAME (xfocus)); 461 focus = FRAME_FOCUS_FRAME (XFRAME (xfocus));
@@ -1411,7 +1411,7 @@ The redirection lasts until `redirect-frame-focus' is called to change it.")
1411#endif 1411#endif
1412 1412
1413 if (frame_rehighlight_hook) 1413 if (frame_rehighlight_hook)
1414 (*frame_rehighlight_hook) (); 1414 (*frame_rehighlight_hook) (XFRAME (focus_frame));
1415 1415
1416 return Qnil; 1416 return Qnil;
1417} 1417}