aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
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)
4570 before this event; any subsequent mouse-movement 4570 before this event; any subsequent mouse-movement
4571 Emacs events should reflect only motion after 4571 Emacs events should reflect only motion after
4572 the ButtonPress. */ 4572 the ButtonPress. */
4573 f->mouse_moved = 0; 4573 if (f != 0)
4574 f->mouse_moved = 0;
4574 } 4575 }
4575 else 4576 else
4576 { 4577 {