* src/nsfont.m: Include termchar for new mouse-highlight.

This commit is contained in:
Jan Djärv 2010-11-06 10:33:22 +01:00
parent c1fc2d3a9c
commit 80417b95f4
3 changed files with 7 additions and 3 deletions

View file

@ -282,7 +282,7 @@ Not documented
;;;;;; do-all-symbols do-symbols dotimes dolist do* do loop return-from
;;;;;; return block etypecase typecase ecase case load-time-value
;;;;;; eval-when destructuring-bind function* defmacro* defun* gentemp
;;;;;; gensym) "cl-macs" "cl-macs.el" "c10b5cbebb5267291ef15c782c0271a6")
;;;;;; gensym) "cl-macs" "cl-macs.el" "82f8370745a60dc26536a0237cba893f")
;;; Generated autoloads from cl-macs.el
(autoload 'gensym "cl-macs" "\

View file

@ -1,3 +1,7 @@
2010-11-06 Jan Djärv <jan.h.d@swipnet.se>
* nsfont.m: Include termchar for new mouse-highlight.
2010-11-05 Eli Zaretskii <eliz@gnu.org>
Unify mouse-highlight code for all GUI and TTY sessions.

View file

@ -37,6 +37,7 @@
#include "frame.h"
#include "character.h"
#include "font.h"
#include "termchar.h"
/* TODO: Drop once we can assume gnustep-gui 0.17.1. */
#ifdef NS_IMPL_GNUSTEP
@ -1040,8 +1041,7 @@ WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */
face = s->face;
break;
case NS_DUMPGLYPH_MOUSEFACE:
face = FACE_FROM_ID (s->f,
FRAME_NS_DISPLAY_INFO (s->f)->mouse_face_face_id);
face = FACE_FROM_ID (s->f, MOUSE_HL_INFO (s->f)->mouse_face_face_id);
if (!face)
face = FACE_FROM_ID (s->f, MOUSE_FACE_ID);
break;