Mercurial > emacs
comparison src/xterm.c @ 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 | 25077ab7295c |
children | 1deaaafdf9ea |
comparison
equal
deleted
inserted
replaced
23700:3be52677d330 | 23701:6c0896abbbd4 |
---|---|
4568 last_mouse_frame = f; | 4568 last_mouse_frame = f; |
4569 /* Ignore any mouse motion that happened | 4569 /* Ignore any mouse motion that happened |
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 { |
4577 dpyinfo->grabbed &= ~(1 << event.xbutton.button); | 4578 dpyinfo->grabbed &= ~(1 << event.xbutton.button); |
4578 } | 4579 } |