From a00e91cd76c44da076b715a70454711656e4a436 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 12 Nov 1998 01:57:30 +0000 Subject: [PATCH] (XTread_socket): Fix previous change in case F == 0. --- src/xterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index a63fdafb836..573f11c15c3 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4570,7 +4570,8 @@ XTread_socket (sd, bufp, numchars, expected) before this event; any subsequent mouse-movement Emacs events should reflect only motion after the ButtonPress. */ - f->mouse_moved = 0; + if (f != 0) + f->mouse_moved = 0; } else { -- 2.39.2