aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-08-02 18:32:39 +0000
committerRichard M. Stallman1995-08-02 18:32:39 +0000
commit91ea2a7a547218570395ab13d7c59217d5810cb9 (patch)
treeb1e7b5ede854dcdabdae9ee78e44608e45e8ef69 /src
parentf2cfa9a63eeeb5ad139debc60b4fbb2f2475c570 (diff)
downloademacs-91ea2a7a547218570395ab13d7c59217d5810cb9.tar.gz
emacs-91ea2a7a547218570395ab13d7c59217d5810cb9.zip
(XTread_socket): For UnmapNotify, use x_top_window_to_frame.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
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)
3554 break; 3554 break;
3555 3555
3556 case UnmapNotify: 3556 case UnmapNotify:
3557 f = x_any_window_to_frame (dpyinfo, event.xunmap.window); 3557 f = x_top_window_to_frame (dpyinfo, event.xunmap.window);
3558 if (f) /* F may no longer exist if 3558 if (f) /* F may no longer exist if
3559 the frame was deleted. */ 3559 the frame was deleted. */
3560 { 3560 {