From: Eli Zaretskii Date: Mon, 6 Mar 2000 10:24:37 +0000 (+0000) Subject: (IT_note_mouse_highlight): Return immediately if frame's X-Git-Tag: emacs-pretest-21.0.90~4756 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=515d0d0e8869d97d3dcb5aec09e259c33605391c;p=emacs.git (IT_note_mouse_highlight): Return immediately if frame's glyph matrices have been freed. --- diff --git a/src/ChangeLog b/src/ChangeLog index 82445b64fd7..b97ad5ef07e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-03-06 Eli Zaretskii + + * msdos.c (IT_note_mouse_highlight): Return immediately if frame's + glyph matrices have been freed. + 2000-03-05 Gerd Moellmann * Makefile.in (tags): Include ../lwlib/TAGS in TAGS. diff --git a/src/msdos.c b/src/msdos.c index c565edfc299..241bea99e7a 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -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;