changeset 5105:9b41ddf1b5f7

(Fmake_frame_visible): Use FRAME_SAMPLE_VISIBILITY. Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Mon, 22 Nov 1993 03:08:40 +0000
parents bcf4b8ed1c60
children 2df44d5e75eb
files src/frame.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Mon Nov 22 00:42:30 1993 +0000
+++ b/src/frame.c	Mon Nov 22 03:08:40 1993 +0000
@@ -837,7 +837,6 @@
 DEFUN ("make-frame-visible", Fmake_frame_visible, Smake_frame_visible,
        0, 1, "",
   "Make the frame FRAME visible (assuming it is an X-window).\n\
-Also raises the frame so that nothing obscures it.\n\
 If omitted, FRAME defaults to the currently selected frame.")
   (frame)
      Lisp_Object frame;
@@ -850,7 +849,10 @@
   /* I think this should be done with a hook.  */
 #ifdef HAVE_X_WINDOWS
   if (FRAME_X_P (XFRAME (frame)))
-    x_make_frame_visible (XFRAME (frame));
+    {
+      FRAME_SAMPLE_VISIBILITY (XFRAME (frame));
+      x_make_frame_visible (XFRAME (frame));
+    }
 #endif
 
   return frame;