# HG changeset patch # User Kenichi Handa # Date 1073958218 0 # Node ID c7050f1a16863cc2b23f85ddde13e13577902f33 # Parent a1d897828f2f04016c3367972472aed142886960 (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args. diff -r a1d897828f2f -r c7050f1a1686 src/xterm.c --- a/src/xterm.c Tue Jan 13 01:43:00 2004 +0000 +++ b/src/xterm.c Tue Jan 13 01:43:38 2004 +0000 @@ -1016,9 +1016,9 @@ face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); if (s->first_glyph->type == CHAR_GLYPH) - face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch); + face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch, -1, Qnil); else - face_id = FACE_FOR_CHAR (s->f, face, 0); + face_id = FACE_FOR_CHAR (s->f, face, 0, -1, Qnil); s->face = FACE_FROM_ID (s->f, face_id); PREPARE_FACE_FOR_DISPLAY (s->f, s->face);