aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-05-14 14:56:23 +0000
committerGerd Moellmann2001-05-14 14:56:23 +0000
commit58e5af83c94b24a9c5cc37bcc1338300d25869fc (patch)
tree31a506e86cf70643d6d311078fc72f818c986061 /src
parent3cf80731c1ef01dca1e0877436eb38b37b50cd09 (diff)
downloademacs-58e5af83c94b24a9c5cc37bcc1338300d25869fc.tar.gz
emacs-58e5af83c94b24a9c5cc37bcc1338300d25869fc.zip
(note_mouse_highlight): Avoid changing the mouse
pointer shape when show_mouse_face has already done it.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 280b828f738..9cd3520dcb6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -8,7 +8,10 @@
8 8
92001-05-14 Gerd Moellmann <gerd@gnu.org> 92001-05-14 Gerd Moellmann <gerd@gnu.org>
10 10
11 * xterm.c (x_draw_glyphs): Fix compuation of rightmost x for 11 * xterm.c (note_mouse_highlight): Avoid changing the mouse
12 pointer shape when show_mouse_face has already done it.
13
14 * xterm.c (x_draw_glyphs): Fix computation of rightmost x for
12 full-width rows. 15 full-width rows.
13 16
14 * xfaces.c (split_font_name): Make sure to leave the loop 17 * xfaces.c (split_font_name): Make sure to leave the loop
diff --git a/src/xterm.c b/src/xterm.c
index 056514d7096..3dfe0fac2aa 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6997,6 +6997,7 @@ note_mouse_highlight (f, x, y)
6997 6997
6998 /* Display it as active. */ 6998 /* Display it as active. */
6999 show_mouse_face (dpyinfo, DRAW_MOUSE_FACE); 6999 show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
7000 cursor = None;
7000 } 7001 }
7001 /* Handle the text property case. */ 7002 /* Handle the text property case. */
7002 else if (!NILP (mouse_face) && BUFFERP (object)) 7003 else if (!NILP (mouse_face) && BUFFERP (object))
@@ -7038,6 +7039,7 @@ note_mouse_highlight (f, x, y)
7038 7039
7039 /* Display it as active. */ 7040 /* Display it as active. */
7040 show_mouse_face (dpyinfo, DRAW_MOUSE_FACE); 7041 show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
7042 cursor = None;
7041 } 7043 }
7042 else if (!NILP (mouse_face) && STRINGP (object)) 7044 else if (!NILP (mouse_face) && STRINGP (object))
7043 { 7045 {
@@ -7069,6 +7071,7 @@ note_mouse_highlight (f, x, y)
7069 = face_at_string_position (w, object, pos, 0, 0, 0, &ignore, 7071 = face_at_string_position (w, object, pos, 0, 0, 0, &ignore,
7070 glyph->face_id, 1); 7072 glyph->face_id, 1);
7071 show_mouse_face (dpyinfo, DRAW_MOUSE_FACE); 7073 show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
7074 cursor = None;
7072 } 7075 }
7073 } 7076 }
7074 7077