diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2006-02-13 11:34:20 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2006-02-13 11:34:20 +0000 |
commit | 111cad7da8d441a4caf0bb731545a40e78efb293 (patch) | |
tree | 0c3eba36f533f849725a662162032a5b19b54872 /src/xterm.c | |
parent | ff8f2102db1c38590e538f2854d1134cd52c42d5 (diff) | |
download | emacs-111cad7da8d441a4caf0bb731545a40e78efb293.tar.gz |
* xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame).
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index e3407dcaaec..6ab8b8db487 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3592,6 +3592,10 @@ note_mouse_movement (frame, event) last_mouse_motion_event = *event; XSETFRAME (last_mouse_motion_frame, frame); + if (!FRAME_X_OUTPUT (frame)) { + return 0; + } + if (event->window != FRAME_X_WINDOW (frame)) { frame->mouse_moved = 1; |