1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(note_mouse_highlight): Don't use mouse-face if hidden.

This commit is contained in:
Kim F. Storm 2002-10-26 23:53:07 +00:00
parent ee7ddec4ec
commit 1b7334a40e
3 changed files with 18 additions and 9 deletions

View File

@ -7330,7 +7330,8 @@ note_mouse_highlight (f, x, y)
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
@ -7372,7 +7373,8 @@ note_mouse_highlight (f, x, y)
if (BUFFERP (object))
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
@ -7451,7 +7453,8 @@ note_mouse_highlight (f, x, y)
dpyinfo->mouse_face_window = window;
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);

View File

@ -6816,7 +6816,8 @@ note_mouse_highlight (f, x, y)
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
@ -6858,7 +6859,8 @@ note_mouse_highlight (f, x, y)
if (BUFFERP (object))
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
@ -6937,7 +6939,8 @@ note_mouse_highlight (f, x, y)
dpyinfo->mouse_face_window = window;
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);

View File

@ -7257,7 +7257,8 @@ note_mouse_highlight (f, x, y)
dpyinfo->mouse_face_window = window;
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
@ -7299,7 +7300,8 @@ note_mouse_highlight (f, x, y)
if (BUFFERP (object))
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);
@ -7378,7 +7380,8 @@ note_mouse_highlight (f, x, y)
dpyinfo->mouse_face_window = window;
dpyinfo->mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
&ignore, pos + 1, 1);
&ignore, pos + 1,
!dpyinfo->mouse_face_hidden);
/* Display it as active. */
show_mouse_face (dpyinfo, DRAW_MOUSE_FACE);