changeset 12750:7e5276da6270

(XTread_socket): For UnmapNotify, use x_top_window_to_frame.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Aug 1995 18:32:39 +0000
parents ce48ec025b0a
children f442c14a79c4
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Aug 02 18:31:46 1995 +0000
+++ b/src/xterm.c	Wed Aug 02 18:32:39 1995 +0000
@@ -3554,7 +3554,7 @@
 	      break;
 
 	    case UnmapNotify:
-	      f = x_any_window_to_frame (dpyinfo, event.xunmap.window);
+	      f = x_top_window_to_frame (dpyinfo, event.xunmap.window);
 	      if (f)		/* F may no longer exist if
 				       the frame was deleted.  */
 		{