From 91ea2a7a547218570395ab13d7c59217d5810cb9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 2 Aug 1995 18:32:39 +0000 Subject: [PATCH] (XTread_socket): For UnmapNotify, use x_top_window_to_frame. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 43679760353..89b7bf90529 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3554,7 +3554,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected) 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. */ { -- 2.39.2