(IT_note_mouse_highlight): Return immediately if frame's
authorEli Zaretskii <eliz@gnu.org>
Mon, 6 Mar 2000 10:24:37 +0000 (10:24 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 6 Mar 2000 10:24:37 +0000 (10:24 +0000)
glyph matrices have been freed.

src/ChangeLog
src/msdos.c

index 82445b6..b97ad5e 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-06  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (IT_note_mouse_highlight): Return immediately if frame's
+       glyph matrices have been freed.
+
 2000-03-05  Gerd Moellmann  <gerd@gnu.org>
 
        * Makefile.in (tags): Include ../lwlib/TAGS in TAGS.
index c565edf..241bea9 100644 (file)
@@ -1252,7 +1252,8 @@ IT_note_mouse_highlight (struct frame *f, int x, int y)
   if (mouse_preempted)
     return;
 
-  if (disable_mouse_highlight)
+  if (disable_mouse_highlight
+      || !f->glyphs_initialized_p)
     return;
 
   dpyinfo->mouse_face_mouse_x = x;