emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Console based mouse face highlighting.


From: Nick Roberts
Subject: Re: [PATCH] Console based mouse face highlighting.
Date: Sun, 13 May 2007 11:54:22 +1200

 > Did you look at what msdos.c does to support mouse highlight on an
 > otherwise text-mode display?  If not, I'd suggest to have a look.

OK, thanks, that helped.   I've now replaced calls to x_y_to_hpos_vpos with
code in that file.  It looks a bit better now, but the mouse highlighting
is from text adjacent to the pointer, appears in a slightly different location
and only when there is some input e.g a mouse click, and remains until I do
a refresh (^L).  I have a few questions:

1) Does write_glyphs *overwrite* existing glyphs (while insert_glyphs adds
   to them) ?  It would be nice if a comment said what these functions do.

2) After a call to write_glyphs, does the cursor position move?

3) Any hints on frame updating ? (both xterm.c and msdos.c use dpyinfo)

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]