diff options
| author | Eli Zaretskii | 2010-11-05 12:03:17 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2010-11-05 12:03:17 +0200 |
| commit | 28118eb6e58a8461e2deef53b68fea513eaef825 (patch) | |
| tree | 657015742b2f15fd87145c8929db1cfe63a0e481 /src/dispextern.h | |
| parent | cf482c50792a60e9fa015f4cb95a8ff1cbb5e108 (diff) | |
| download | emacs-28118eb6e58a8461e2deef53b68fea513eaef825.tar.gz emacs-28118eb6e58a8461e2deef53b68fea513eaef825.zip | |
Cleanup fallout from redesigning mouse highlight.
dispextern.h (tty_draw_row_with_mouse_face): Add prototype.
xdisp.c (draw_row_with_mouse_face): Don't #ifdef away on MSDOS.
Call tty_draw_row_with_mouse_face on MSDOS as well.
msdos.c (tty_draw_row_with_mouse_face): Renamed from
draw_row_with_mouse_face. Make the argument list identical to the
GPM implementation.
msdos.h (Display_Info): Restore typedef.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 37ab2b4c9b6..2ac3918ea98 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -3040,12 +3040,13 @@ extern void frame_to_window_pixel_xy (struct window *, int *, int *); | |||
| 3040 | extern void note_mouse_highlight (struct frame *, int, int); | 3040 | extern void note_mouse_highlight (struct frame *, int, int); |
| 3041 | extern void x_clear_window_mouse_face (struct window *); | 3041 | extern void x_clear_window_mouse_face (struct window *); |
| 3042 | extern void cancel_mouse_face (struct frame *); | 3042 | extern void cancel_mouse_face (struct frame *); |
| 3043 | extern int clear_mouse_face (Display_Info *); | 3043 | extern int clear_mouse_face (Mouse_HLInfo *); |
| 3044 | extern void show_mouse_face (Display_Info *, enum draw_glyphs_face); | 3044 | extern void show_mouse_face (Mouse_HLInfo *, enum draw_glyphs_face); |
| 3045 | extern int cursor_in_mouse_face_p (struct window *w); | 3045 | extern int cursor_in_mouse_face_p (struct window *w); |
| 3046 | extern void draw_row_with_mouse_face (struct window *, int, struct glyph_row *, | 3046 | extern void draw_row_with_mouse_face (struct window *, int, struct glyph_row *, |
| 3047 | int, int, enum draw_glyphs_face); | 3047 | int, int, enum draw_glyphs_face); |
| 3048 | 3048 | extern void tty_draw_row_with_mouse_face (struct window *, struct glyph_row *, | |
| 3049 | int, int, enum draw_glyphs_face); | ||
| 3049 | 3050 | ||
| 3050 | /* Flags passed to try_window. */ | 3051 | /* Flags passed to try_window. */ |
| 3051 | #define TRY_WINDOW_CHECK_MARGINS (1 << 0) | 3052 | #define TRY_WINDOW_CHECK_MARGINS (1 << 0) |