changeset 59746:e3086ef13cec

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Thu, 27 Jan 2005 22:32:41 +0000
parents 2177d96b9c08
children 40cb8cb02621
files src/ChangeLog
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jan 27 17:00:38 2005 +0000
+++ b/src/ChangeLog	Thu Jan 27 22:32:41 2005 +0000
@@ -1,3 +1,19 @@
+2005-01-27  Kim F. Storm  <storm@cua.dk>
+
+	* xdisp.c (get_phys_cursor_geometry): New function to calculate
+	phys cursor position and size for hollow cursor.  Position is
+	aligned with get_glyph_string_clip_rect and ensures that a hollow
+	cursor is shown, even when the actual glyph is not visible.
+
+	* dispextern.h (get_phys_cursor_geometry): Add prototype.
+
+	* xterm.c (x_clip_to_row): Ensure y >= 0.
+	(x_draw_hollow_cursor): Use get_phys_cursor_geometry.
+
+	* w32term.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry.
+
+	* macterm.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry.
+
 2005-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* xterm.c (x_error_quitter): Add a prototype.  Make it static again.