diff options
author | Kim F. Storm <storm@cua.dk> | 2002-10-26 23:53:07 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2002-10-26 23:53:07 +0000 |
commit | 1b7334a40e1177daaf43056f6b524efdfc1ccafd (patch) | |
tree | 7de3b5b99e07e8be736f683e68412ec7b109ea5e /src/macterm.c | |
parent | ee7ddec4ecf60b54558229a01c92339321d1f476 (diff) | |
download | emacs-1b7334a40e1177daaf43056f6b524efdfc1ccafd.tar.gz emacs-1b7334a40e1177daaf43056f6b524efdfc1ccafd.tar.bz2 emacs-1b7334a40e1177daaf43056f6b524efdfc1ccafd.zip |
(note_mouse_highlight): Don't use mouse-face if hidden.
Diffstat (limited to 'src/macterm.c')
-rw-r--r-- | src/macterm.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/macterm.c b/src/macterm.c index 5da54e2c73f..2646b28618d 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -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); |