changeset 68850:c8b4cb06e1b3

* xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame).
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 13 Feb 2006 11:34:20 +0000
parents d4d4eb38cca3
children ef6240377b78
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Feb 13 11:05:37 2006 +0000
+++ b/src/ChangeLog	Mon Feb 13 11:34:20 2006 +0000
@@ -1,3 +1,7 @@
+2006-02-13  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame).
+
 2006-02-12  Richard M. Stallman  <rms@gnu.org>
 
 	* cmds.c (internal_self_insert): Handle weird auto-fill-function.
--- a/src/xterm.c	Mon Feb 13 11:05:37 2006 +0000
+++ b/src/xterm.c	Mon Feb 13 11:34:20 2006 +0000
@@ -3592,6 +3592,10 @@
   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;