Mercurial > emacs
comparison src/frame.h @ 111345:8ed4db9b46e6
Fix mouse redesigned mouse highlight on MSDOS.
dispnew.c (init_display): Setup initial frame's output_data for
text terminal frames.
frame.h (MOUSE_HL_INFO): Fix TTY definition.
msdos.h (initialize_msdos_display): Add prototype.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 05 Nov 2010 14:11:22 +0200 |
parents | 2186ab0af4a5 |
children | 2d0c056a50d8 |
comparison
equal
deleted
inserted
replaced
111344:b775602e70c8 | 111345:8ed4db9b46e6 |
---|---|
548 region of text, if any, that is currently shown in mouse-face on | 548 region of text, if any, that is currently shown in mouse-face on |
549 frame F. */ | 549 frame F. */ |
550 #define MOUSE_HL_INFO(F) \ | 550 #define MOUSE_HL_INFO(F) \ |
551 (FRAME_WINDOW_P(F) \ | 551 (FRAME_WINDOW_P(F) \ |
552 ? &(FRAME_X_DISPLAY_INFO(F)->mouse_highlight) \ | 552 ? &(FRAME_X_DISPLAY_INFO(F)->mouse_highlight) \ |
553 : &(((F)->output_data.tty)->mouse_highlight)) | 553 : &(((F)->output_data.tty->display_info)->mouse_highlight)) |
554 | 554 |
555 /* Nonzero if frame F is still alive (not deleted). */ | 555 /* Nonzero if frame F is still alive (not deleted). */ |
556 #define FRAME_LIVE_P(f) ((f)->terminal != 0) | 556 #define FRAME_LIVE_P(f) ((f)->terminal != 0) |
557 | 557 |
558 /* Nonzero if frame F is a minibuffer-only frame. */ | 558 /* Nonzero if frame F is a minibuffer-only frame. */ |