summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-11-10 14:04:26 +0800
committerPo Lu <luangruo@yahoo.com>2021-11-10 14:04:26 +0800
commite27ca55ecbfef414411b4a12ba911eb76ce09b4a (patch)
tree89c0e64e9c4f4f534efd90904bf15624f70acad1 /src
parent2e2260427e9a47d2f91655ae1147631e92a99713 (diff)
downloademacs-e27ca55ecbfef414411b4a12ba911eb76ce09b4a.tar.gz
emacs-e27ca55ecbfef414411b4a12ba911eb76ce09b4a.tar.bz2
emacs-e27ca55ecbfef414411b4a12ba911eb76ce09b4a.zip
Revert "Fix mouse face in NS port"
This reverts commit 278e4fc9c6353068334dd39d45334b1df82a6cee.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 3727f861ac6..ed0e7a2aae8 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -3976,19 +3976,6 @@ ns_draw_glyph_string (struct glyph_string *s)
NSRect r[2];
int n;
char box_drawn_p = 0;
-
- struct face *face = s->face;
- if (s->hl == DRAW_MOUSE_FACE)
- {
- face
- = FACE_FROM_ID_OR_NULL (s->f,
- MOUSE_HL_INFO (s->f)->mouse_face_face_id);
- if (!face)
- face = FACE_FROM_ID (s->f, MOUSE_FACE_ID);
- }
-
- s->face = face;
-
struct font *font = s->face->font;
if (! font) font = FRAME_FONT (s->f);