From: Karl Heuer Date: Thu, 12 Nov 1998 01:57:30 +0000 (+0000) Subject: (XTread_socket): Fix previous change in case F == 0. X-Git-Tag: emacs-20.4~1248 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a00e91cd76c44da076b715a70454711656e4a436;p=emacs.git (XTread_socket): Fix previous change in case F == 0. --- 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 {