aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2011-10-29 12:02:39 +0200
committerEli Zaretskii <[email protected]>2011-10-29 12:02:39 +0200
commitaa4dfba7fd52e598b29e3a13efe8743837a2e53b (patch)
tree797a65340b86965ea3806ea21f3d075f31a4a9ad /src/xdisp.c
parent567843934e76b72de93f61d0f35a4aa91f1c76b2 (diff)
Revert last commit.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 3cce8012da..22f7c2bbd2 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26835,14 +26835,14 @@ note_mouse_highlight (struct frame *f, int x, int y)
/* Which window is that in? */
window = window_from_coordinates (f, x, y, &part, 1);
- if (!NILP (hlinfo->mouse_face_window)
- /* If displaying active text in another window, clear that. */
- && (!EQ (window, hlinfo->mouse_face_window)
- /* Also clear if we move out of text area in same window. */
- || (!NILP (window)
- && part != ON_TEXT
- && part != ON_MODE_LINE
- && part != ON_HEADER_LINE)))
+ /* If displaying active text in another window, clear that. */
+ if (! EQ (window, hlinfo->mouse_face_window)
+ /* Also clear if we move out of text area in same window. */
+ || (!NILP (hlinfo->mouse_face_window)
+ && !NILP (window)
+ && part != ON_TEXT
+ && part != ON_MODE_LINE
+ && part != ON_HEADER_LINE))
clear_mouse_face (hlinfo);
/* Not on a window -> return. */