summaryrefslogtreecommitdiff
path: root/src/w32term.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2002-10-26 23:53:07 +0000
committerKim F. Storm <storm@cua.dk>2002-10-26 23:53:07 +0000
commit1b7334a40e1177daaf43056f6b524efdfc1ccafd (patch)
tree7de3b5b99e07e8be736f683e68412ec7b109ea5e /src/w32term.c
parentee7ddec4ecf60b54558229a01c92339321d1f476 (diff)
downloademacs-1b7334a40e1177daaf43056f6b524efdfc1ccafd.tar.gz
(note_mouse_highlight): Don't use mouse-face if hidden.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c
index f8d4e2e664e..55ce9d62391 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -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);