From: Eli Zaretskii <eliz@gnu.org>
Cc: gritsch@iue.tuwien.ac.at, emacs-devel@gnu.org, storm@cua.dk
Subject: Re: Cursor in non-selected windows is 1 pixel too small
Date: Sun, 05 Mar 2006 21:50:35 +0200 [thread overview]
Message-ID: <uslpw1xis.fsf@gnu.org> (raw)
In-Reply-To: <wl4q2db6ec.wl%mituharu@math.s.chiba-u.ac.jp> (message from YAMAMOTO Mitsuharu on Sun, 05 Mar 2006 18:14:03 +0900)
> Date: Sun, 05 Mar 2006 18:14:03 +0900
> From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
> Cc: Eli Zaretskii <eliz@gnu.org>,
> Markus Gritsch <gritsch@iue.tuwien.ac.at>, emacs-devel@gnu.org
>
> 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.
next prev parent reply other threads:[~2006-03-05 19:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-03 10:16 Cursor in non-selected windows is 1 pixel too small Markus Gritsch
2006-03-04 9:54 ` Eli Zaretskii
2006-03-04 10:04 ` Markus Gritsch
2006-03-04 10:18 ` Eli Zaretskii
2006-03-04 10:33 ` Markus Gritsch
2006-03-04 11:01 ` Markus Gritsch
2006-03-04 14:16 ` Eli Zaretskii
2006-03-04 14:29 ` Markus Gritsch
2006-03-04 14:51 ` Eli Zaretskii
2006-03-04 22:19 ` Kim F. Storm
2006-03-05 9:14 ` YAMAMOTO Mitsuharu
2006-03-05 19:50 ` Eli Zaretskii [this message]
2006-03-06 1:48 ` YAMAMOTO Mitsuharu
2006-03-06 10:54 ` Kim F. Storm
2006-03-11 12:09 ` Eli Zaretskii
2006-03-11 13:17 ` YAMAMOTO Mitsuharu
2006-03-11 14:42 ` Eli Zaretskii
2006-03-11 12:06 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uslpw1xis.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=gritsch@iue.tuwien.ac.at \
--cc=storm@cua.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).