]> git.eshelyaron.com Git - emacs.git/commitdiff
* xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame).
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 13 Feb 2006 11:34:20 +0000 (11:34 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 13 Feb 2006 11:34:20 +0000 (11:34 +0000)
src/ChangeLog
src/xterm.c

index bd6d28aad6a6f80218267db2be059dac4bdbc025..6c5fa1639381f17678128c05e6de6bd3b2b51cf3 100644 (file)
@@ -1,3 +1,7 @@
+2006-02-13  Jan Dj\e,Ad\e(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.
index e3407dcaaec3cafa9101b35bce4eb603a7e94941..6ab8b8db487fb8d15b09cad7ff3d01777ac81d27 100644 (file)
@@ -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;