summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-01-09 17:40:11 +0800
committerChong Yidong <cyd@gnu.org>2012-01-09 17:40:11 +0800
commit3f235eece06afee170bf143cfde2ca8702384e75 (patch)
tree2ec5790eba30d86c513a75deebe67c9c2538bbae
parentd12815f82606816370e32309deefa8081de64d51 (diff)
downloademacs-3f235eece06afee170bf143cfde2ca8702384e75.tar.gz
Fix last commit.
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index ed0cff5ce82..c0c11bf02d2 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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