changeset 11529:5beffe62d4ef

(do_switch_frame): x_get_focus_frame needs an arg. (Fredirect_frame_focus): frame_rehighlight_hook needs an arg.
author Karl Heuer <kwzh@gnu.org>
date Mon, 24 Apr 1995 16:55:29 +0000
parents 29d1cbdd2ca4
children a265aaa699e0
files src/frame.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Mon Apr 24 16:55:03 1995 +0000
+++ b/src/frame.c	Mon Apr 24 16:55:29 1995 +0000
@@ -455,7 +455,7 @@
     {
       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 @@
 #endif
 
   if (frame_rehighlight_hook)
-    (*frame_rehighlight_hook) ();
+    (*frame_rehighlight_hook) (XFRAME (focus_frame));
   
   return Qnil;
 }