Extend mouse support on W32 text-mode console.
authorEli Zaretskii <eliz@gnu.org>
Sat, 26 May 2012 12:14:56 +0000 (15:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 26 May 2012 12:14:56 +0000 (15:14 +0300)
commit53a63be64de2c4a28ffcd275398255976a380fee
tree8d131c07086847e5756ac31e140908bae1ccbb1d
parent4cfd81f6c9755fb87eaf9f529c2bcbb0a30edfcf
parentc4aeb92ab4ffdc943f330c9cce22d65eaba743af
Extend mouse support on W32 text-mode console.

 src/xdisp.c (draw_row_with_mouse_face): Call
 tty_draw_row_with_mouse_face for WINDOWSNT as well.
 src/w32console.c: Include window.h.
 (w32con_write_glyphs_with_face, tty_draw_row_with_mouse_face): New
 functions.
 (initialize_w32_display): Initialize mouse-highlight data.
 src/w32inevt.c: Include termchar.h and window.h.
 (do_mouse_event): Support mouse-autoselect-window.  When the mouse
 moves, call note_mouse_highlight.  If help_echo changed, call
 gen_help_event to produce help-echo message in the echo area.
 Call clear_mouse_face if mouse_face_hidden is set in the mouse
 highlight info.

 etc/NEWS: Describe the changes.
etc/NEWS
src/ChangeLog