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/msdos.c | |
| 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/msdos.c')
| -rw-r--r-- | src/msdos.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/msdos.c b/src/msdos.c index 9826beb1721..6593714ba1f 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -948,12 +948,12 @@ popup_activated (void) | |||
| 948 | } | 948 | } |
| 949 | 949 | ||
| 950 | /* Draw TEXT_AREA glyphs between START and END of glyph row ROW on | 950 | /* Draw TEXT_AREA glyphs between START and END of glyph row ROW on |
| 951 | window W, starting at x-position X. X is relative to TEXT_AREA | 951 | window W. X is relative to TEXT_AREA in W. HL is a face override |
| 952 | in W. HL is a face override for drawing the glyphs. */ | 952 | for drawing the glyphs. */ |
| 953 | void | 953 | void |
| 954 | draw_row_with_mouse_face (struct window *w, int x, struct glyph_row *row, | 954 | tty_draw_row_with_mouse_face (struct window *w, struct glyph_row *row, |
| 955 | int start_hpos, int end_hpos, | 955 | int start_hpos, int end_hpos, |
| 956 | enum draw_glyphs_face hl) | 956 | enum draw_glyphs_face hl) |
| 957 | { | 957 | { |
| 958 | struct frame *f = XFRAME (WINDOW_FRAME (w)); | 958 | struct frame *f = XFRAME (WINDOW_FRAME (w)); |
| 959 | struct tty_display_info *tty = FRAME_TTY (f); | 959 | struct tty_display_info *tty = FRAME_TTY (f); |