diff options
| author | Po Lu | 2021-11-10 14:04:26 +0800 |
|---|---|---|
| committer | Po Lu | 2021-11-10 14:04:26 +0800 |
| commit | e27ca55ecbfef414411b4a12ba911eb76ce09b4a (patch) | |
| tree | 89c0e64e9c4f4f534efd90904bf15624f70acad1 /src | |
| parent | 2e2260427e9a47d2f91655ae1147631e92a99713 (diff) | |
| download | emacs-e27ca55ecbfef414411b4a12ba911eb76ce09b4a.tar.gz emacs-e27ca55ecbfef414411b4a12ba911eb76ce09b4a.zip | |
Revert "Fix mouse face in NS port"
This reverts commit 278e4fc9c6353068334dd39d45334b1df82a6cee.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 13 |
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) | |||
| 3976 | NSRect r[2]; | 3976 | NSRect r[2]; |
| 3977 | int n; | 3977 | int n; |
| 3978 | char box_drawn_p = 0; | 3978 | char box_drawn_p = 0; |
| 3979 | |||
| 3980 | struct face *face = s->face; | ||
| 3981 | if (s->hl == DRAW_MOUSE_FACE) | ||
| 3982 | { | ||
| 3983 | face | ||
| 3984 | = FACE_FROM_ID_OR_NULL (s->f, | ||
| 3985 | MOUSE_HL_INFO (s->f)->mouse_face_face_id); | ||
| 3986 | if (!face) | ||
| 3987 | face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); | ||
| 3988 | } | ||
| 3989 | |||
| 3990 | s->face = face; | ||
| 3991 | |||
| 3992 | struct font *font = s->face->font; | 3979 | struct font *font = s->face->font; |
| 3993 | if (! font) font = FRAME_FONT (s->f); | 3980 | if (! font) font = FRAME_FONT (s->f); |
| 3994 | 3981 | ||