]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket): For UnmapNotify, use x_top_window_to_frame.
authorRichard M. Stallman <rms@gnu.org>
Wed, 2 Aug 1995 18:32:39 +0000 (18:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 2 Aug 1995 18:32:39 +0000 (18:32 +0000)
src/xterm.c

index 43679760353b5249d4e162aef3b45c3d5efa6c0c..89b7bf905291d2d24bed8890dbcb5c851cc268fa 100644 (file)
@@ -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.  */
                {