1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00

Fix last commit.

This commit is contained in:
Chong Yidong 2012-01-09 17:40:11 +08:00
parent d12815f826
commit 3f235eece0

View file

@ -23519,9 +23519,9 @@ note_mouse_highlight (f, x, y)
window = window_from_coordinates (f, x, y, &part, 0, 0, 1);
/* If displaying active text in another window, clear that. */
if (! EQ (window, hlinfo->mouse_face_window)
if (! EQ (window, dpyinfo->mouse_face_window)
/* Also clear if we move out of text area in same window. */
|| (!NILP (hlinfo->mouse_face_window)
|| (!NILP (dpyinfo->mouse_face_window)
&& !NILP (window)
&& part != ON_TEXT
&& part != ON_MODE_LINE