diff options
| author | Kenichi Handa | 2004-01-13 01:43:38 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-01-13 01:43:38 +0000 |
| commit | e3c7c6a56d3f03b960de85f1e03691f15a88f78a (patch) | |
| tree | 7f134b714fc45dfaf4fbea7b2d96ff1962296097 /src | |
| parent | 779c6fb661f53d44908dc2cce483369d34c72941 (diff) | |
| download | emacs-e3c7c6a56d3f03b960de85f1e03691f15a88f78a.tar.gz emacs-e3c7c6a56d3f03b960de85f1e03691f15a88f78a.zip | |
(x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 0457be6d73b..7d3ef24de15 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1016,9 +1016,9 @@ x_set_mouse_face_gc (s) | |||
| 1016 | face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); | 1016 | face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); |
| 1017 | 1017 | ||
| 1018 | if (s->first_glyph->type == CHAR_GLYPH) | 1018 | if (s->first_glyph->type == CHAR_GLYPH) |
| 1019 | face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch); | 1019 | face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch, -1, Qnil); |
| 1020 | else | 1020 | else |
| 1021 | face_id = FACE_FOR_CHAR (s->f, face, 0); | 1021 | face_id = FACE_FOR_CHAR (s->f, face, 0, -1, Qnil); |
| 1022 | s->face = FACE_FROM_ID (s->f, face_id); | 1022 | s->face = FACE_FROM_ID (s->f, face_id); |
| 1023 | PREPARE_FACE_FOR_DISPLAY (s->f, s->face); | 1023 | PREPARE_FACE_FOR_DISPLAY (s->f, s->face); |
| 1024 | 1024 | ||