]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 82445b64fd7045747cddbc54e6c3e5cc944c1edf..b97ad5ef07ec712551207894bdbaff21d7019330 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 c565edfc299aed50441933ba8ed6428b9c767c1d..241bea99e7a9ec964a3cbd6f2e1ce48edd654734 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;