From: Richard M. Stallman Date: Wed, 2 Aug 1995 18:32:39 +0000 (+0000) Subject: (XTread_socket): For UnmapNotify, use x_top_window_to_frame. X-Git-Tag: emacs-19.34~3110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=91ea2a7a547218570395ab13d7c59217d5810cb9;p=emacs.git (XTread_socket): For UnmapNotify, use x_top_window_to_frame. --- 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. */ {