emacs-devel
[Top][All Lists]
Advanced

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

Re: Cursor in non-selected windows is 1 pixel too small


From: Eli Zaretskii
Subject: Re: Cursor in non-selected windows is 1 pixel too small
Date: Sun, 05 Mar 2006 21:50:35 +0200

> Date: Sun, 05 Mar 2006 18:14:03 +0900
> From: YAMAMOTO Mitsuharu <address@hidden>
> Cc: Eli Zaretskii <address@hidden>,
>       Markus Gritsch <address@hidden>, address@hidden
> 
> The W32 port seems to have an adjustment for the cursor width in
> get_phys_cursor_geometry:
> 
>   wd = glyph->pixel_width - 1;
> #ifdef HAVE_NTGUI
>   wd++; /* Why? */
> #endif
> 
> So, wherever we add adjustment, it should be done in a consistent way
> between width and height, I think.

I don't have an easy access to an X Windows platform for a moment.
Can someone who has please verify positively that the hollow cursor in
non-selected windows there is _exactly_ the same size in pixels as the
solid block cursor in the selected window?  I looked at the man pages
of XDrawRectangle, and it sounds like it needs the same arguments as
the MS-Windows FrameRect, so I wonder whether we simply missed this on
all platforms.




reply via email to

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