aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Mackenzie2011-10-28 15:18:00 +0000
committerAlan Mackenzie2011-10-28 15:18:00 +0000
commite376ea4f737a9230a9767a12bdcc530da4b4da87 (patch)
treee74b45fc923a012322eb229ca403fcd07ec1f696 /src
parent1aecd7ec0e23ab0fb04c4f3f4cbb7c038a85e4ab (diff)
parentd3d0842fe219892079cac179ab0843792f29cf1a (diff)
downloademacs-e376ea4f737a9230a9767a12bdcc530da4b4da87.tar.gz
emacs-e376ea4f737a9230a9767a12bdcc530da4b4da87.zip
Merge.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c11
2 files changed, 11 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 21ec98fa217..da0ba4b11f2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-10-28 Chong Yidong <cyd@gnu.org>
2
3 * xdisp.c (note_mouse_highlight): Fix use of uninitialized var.
4
12011-10-28 Dan Nicolaescu <dann@ics.uci.edu> 52011-10-28 Dan Nicolaescu <dann@ics.uci.edu>
2 6
3 * window.c (make_window): Initialize phys_cursor_on_p. 7 * window.c (make_window): Initialize phys_cursor_on_p.
diff --git a/src/xdisp.c b/src/xdisp.c
index 0757feed1d9..296b2d13219 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26835,11 +26835,14 @@ note_mouse_highlight (struct frame *f, int x, int y)
26835 /* Which window is that in? */ 26835 /* Which window is that in? */
26836 window = window_from_coordinates (f, x, y, &part, 1); 26836 window = window_from_coordinates (f, x, y, &part, 1);
26837 26837
26838 /* If we were displaying active text in another window, clear that. 26838 /* If displaying active text in another window, clear that. */
26839 Also clear if we move out of text area in same window. */
26840 if (! EQ (window, hlinfo->mouse_face_window) 26839 if (! EQ (window, hlinfo->mouse_face_window)
26841 || (part != ON_TEXT && part != ON_MODE_LINE && part != ON_HEADER_LINE 26840 /* Also clear if we move out of text area in same window. */
26842 && !NILP (hlinfo->mouse_face_window))) 26841 || (!NILP (hlinfo->mouse_face_window)
26842 && !NILP (window)
26843 && part != ON_TEXT
26844 && part != ON_MODE_LINE
26845 && part != ON_HEADER_LINE))
26843 clear_mouse_face (hlinfo); 26846 clear_mouse_face (hlinfo);
26844 26847
26845 /* Not on a window -> return. */ 26848 /* Not on a window -> return. */