Adrian, On 19 Jul 2008, at 17:28, Gilbert Harman wrote:
Using the CVS version of GNU Emacs 23.0.60.1 of about 5 PM EDT on Saturday, July 19, 2008, using an intel iMac OS 10.5.4, I am still getting ghost cursors occasionally, and it is still annoying.
On a related note: there seem to be problems with redrawing the area under the cursor when it's blinking. I set the width of the cursor to 2 pixels (in the .m), and this makes it more evident.
Things work fine for hollow_box, except that there is a lot of flicker (the glyph underneath is erased and redrawn).
I guess erase_phys_cursor in xdisp.c does that.For bar cursors, this doesn't exist. I tried increasing the width in draw_phys_cursor_glyph (call to draw_glyphs), but that didn't help - I suppose I don't know what I'm doing there.
Is there a specific reason why a lot of NS specific code is used to store the cursor as a frame parameter? There's this wonderful `get_window_cursor_type' from xdisp.c that could be used to get the right cursor type, which also allows stuff like (bar . 2), which isn't supported right now.
I started to change the NS code but thought that there must be a reason as to why you've done it the way you have...
- D
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Emacs-app-dev- mailing list Emacs-app-dev-@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-