From 515d0d0e8869d97d3dcb5aec09e259c33605391c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 6 Mar 2000 10:24:37 +0000 Subject: [PATCH] (IT_note_mouse_highlight): Return immediately if frame's glyph matrices have been freed. --- src/ChangeLog | 5 +++++ src/msdos.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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; -- 2.39.5