changeset 13627:8873aa3451dd

(XTmouse_position): Exit the loop if child == win. (x_iconify_frame): Call FRAME_SAMPLE_VISIBILITY.
author Richard M. Stallman <rms@gnu.org>
date Wed, 22 Nov 1995 12:38:53 +0000
parents 177fbffc7359
children 6da84b713ae7
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Nov 22 12:13:35 1995 +0000
+++ b/src/xterm.c	Wed Nov 22 12:38:53 1995 +0000
@@ -2354,7 +2354,7 @@
 				       /* Child of win.  */
 				       &child);
 
-		if (child == None)
+		if (child == None || child == win)
 		  break;
 
 		win = child;
@@ -5454,6 +5454,8 @@
 
   BLOCK_INPUT;
 
+  FRAME_SAMPLE_VISIBILITY (f);
+
   type = x_icon_type (f);
   if (!NILP (type))
     x_bitmap_icon (f, type);