Mercurial > emacs
changeset 70651:54d96a288372
(handle_one_xevent): Fix crash in 2006-03-24 change.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 14 May 2006 00:30:46 +0000 |
parents | 86c69f5d652f |
children | fc5f994a4079 |
files | src/xterm.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Sun May 14 00:30:25 2006 +0000 +++ b/src/xterm.c Sun May 14 00:30:46 2006 +0000 @@ -6084,7 +6084,8 @@ f = x_any_window_to_frame (dpyinfo, event.xkey.window); if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight) - && !EQ (f->tool_bar_window, dpyinfo->mouse_face_window)) + && (f == 0 + || !EQ (f->tool_bar_window, dpyinfo->mouse_face_window))) { clear_mouse_face (dpyinfo); dpyinfo->mouse_face_hidden = 1;