From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Cursor in non-selected windows is 1 pixel too small Date: Mon, 06 Mar 2006 11:54:07 +0100 Message-ID: References: <44081767.4010004@iue.tuwien.ac.at> <44096641.8080505@iue.tuwien.ac.at> <44096CE7.9050202@iue.tuwien.ac.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141693054 28522 80.91.229.2 (7 Mar 2006 00:57:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Mar 2006 00:57:34 +0000 (UTC) Cc: gritsch@iue.tuwien.ac.at, YAMAMOTO Mitsuharu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 07 01:57:29 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FGQVv-0002Re-Jd for ged-emacs-devel@m.gmane.org; Tue, 07 Mar 2006 01:57:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGQVu-0006pU-O7 for ged-emacs-devel@m.gmane.org; Mon, 06 Mar 2006 19:57:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FGPdy-0001rO-Jv for emacs-devel@gnu.org; Mon, 06 Mar 2006 19:01:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FGPds-0001k3-Q1 for emacs-devel@gnu.org; Mon, 06 Mar 2006 19:01:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGDNu-0007Zs-9R for emacs-devel@gnu.org; Mon, 06 Mar 2006 05:56:14 -0500 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FGDQ3-00075V-Hb; Mon, 06 Mar 2006 05:58:27 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id 6FC79262893; Mon, 6 Mar 2006 11:55:50 +0100 (CET) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Sun, 05 Mar 2006 21:50:35 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51308 Archived-At: Eli Zaretskii writes: >> Date: Sun, 05 Mar 2006 18:14:03 +0900 >> From: YAMAMOTO Mitsuharu >> Cc: Eli Zaretskii , >> Markus Gritsch , 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? It is! -- Kim F. Storm http://www.cua.dk