changeset 23701:6c0896abbbd4

(XTread_socket): Fix previous change in case F == 0.
author Karl Heuer <kwzh@gnu.org>
date Thu, 12 Nov 1998 01:57:30 +0000
parents 3be52677d330
children 88ea29425911
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Nov 12 01:55:57 1998 +0000
+++ b/src/xterm.c	Thu Nov 12 01:57:30 1998 +0000
@@ -4570,7 +4570,8 @@
 		       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
 		  {