aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMasatake YAMATO2005-06-10 05:31:45 +0000
committerMasatake YAMATO2005-06-10 05:31:45 +0000
commit121c59a3e42a0d596967bf3e4baa323ea9bd4ff2 (patch)
tree0f04d841448ed55df9c271a9507015fa309e3df4 /src
parent6ecf436de1ade9aed4741f91608bf605bc166e64 (diff)
downloademacs-121c59a3e42a0d596967bf3e4baa323ea9bd4ff2.tar.gz
emacs-121c59a3e42a0d596967bf3e4baa323ea9bd4ff2.zip
* xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face
when mouse_face is not given. Remove unnecessary tabs.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c11
2 files changed, 12 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2622787d3aa..94479694c7a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12005-06-10 Masatake YAMATO <jet@gyve.org>
2
3 * xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face
4 when mouse_face is not given.
5 Remove unnecessary tabs.
6
12005-06-09 Luc Teirlinck <teirllm@auburn.edu> 72005-06-09 Luc Teirlinck <teirllm@auburn.edu>
2 8
3 * window.c (Fselect_window): Adapt call to Fselect_frame. 9 * window.c (Fselect_window): Adapt call to Fselect_frame.
diff --git a/src/xdisp.c b/src/xdisp.c
index 3a44cc808c0..b32f43b97b9 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -21523,7 +21523,7 @@ note_mode_line_or_margin_highlight (window, x, y, area)
21523 int ignore; 21523 int ignore;
21524 21524
21525 int vpos, hpos; 21525 int vpos, hpos;
21526 21526
21527 b = Fprevious_single_property_change (make_number (charpos + 1), 21527 b = Fprevious_single_property_change (make_number (charpos + 1),
21528 Qmouse_face, string, Qnil); 21528 Qmouse_face, string, Qnil);
21529 if (NILP (b)) 21529 if (NILP (b))
@@ -21571,7 +21571,7 @@ note_mode_line_or_margin_highlight (window, x, y, area)
21571 hpos = (area == ON_MODE_LINE 21571 hpos = (area == ON_MODE_LINE
21572 ? (w->current_matrix)->nrows - 1 21572 ? (w->current_matrix)->nrows - 1
21573 : 0); 21573 : 0);
21574 21574
21575 /* If the re-rendering position is included in the last 21575 /* If the re-rendering position is included in the last
21576 re-rendering area, we should do nothing. */ 21576 re-rendering area, we should do nothing. */
21577 if ( window == dpyinfo->mouse_face_window 21577 if ( window == dpyinfo->mouse_face_window
@@ -21579,10 +21579,10 @@ note_mode_line_or_margin_highlight (window, x, y, area)
21579 && vpos < dpyinfo->mouse_face_end_col 21579 && vpos < dpyinfo->mouse_face_end_col
21580 && dpyinfo->mouse_face_beg_row == hpos ) 21580 && dpyinfo->mouse_face_beg_row == hpos )
21581 return; 21581 return;
21582 21582
21583 if (clear_mouse_face (dpyinfo)) 21583 if (clear_mouse_face (dpyinfo))
21584 cursor = No_Cursor; 21584 cursor = No_Cursor;
21585 21585
21586 dpyinfo->mouse_face_beg_col = vpos; 21586 dpyinfo->mouse_face_beg_col = vpos;
21587 dpyinfo->mouse_face_beg_row = hpos; 21587 dpyinfo->mouse_face_beg_row = hpos;
21588 21588
@@ -21607,8 +21607,9 @@ note_mode_line_or_margin_highlight (window, x, y, area)
21607 if (NILP (pointer)) 21607 if (NILP (pointer))
21608 pointer = Qhand; 21608 pointer = Qhand;
21609 } 21609 }
21610 else if ((area == ON_MODE_LINE) || (area == ON_HEADER_LINE))
21611 clear_mouse_face (dpyinfo);
21610 } 21612 }
21611
21612 define_frame_cursor1 (f, cursor, pointer); 21613 define_frame_cursor1 (f, cursor, pointer);
21613} 21614}
21614 21615