unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: 57264@debbugs.gnu.org
Subject: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
Date: Thu, 18 Aug 2022 20:49:13 +0800	[thread overview]
Message-ID: <87ilmpogxi.fsf@yahoo.com> (raw)
In-Reply-To: <8735dtahj2.fsf@gmail.com> (Visuwesh's message of "Thu, 18 Aug 2022 17:30:01 +0530")

Visuwesh <visuweshm@gmail.com> writes:

> Almost every Xorg app I have (add mpv, sxiv and meh to the earlier list)
> and the root window except st and Emacs shows the right cursor for me.

The cursor theme you sent does not include a replacement for the default
X cursor, so what is being displayed on the root window (given that the
window manager did not define another) is from the default cursor font,
not your cursor theme.  mpv also does not set a cursor, but inherits the
cursor from the frame window provided by the window manager.

I am not familar with the other programs, but I'm sure they use the
Xcursor library, which these days has various problems with non-ARGB
cursor bitmaps.  Emacs does not and thus behaves correctly.

> I'm using the awesome window manager here if it matters.

I'm not familiar with that window manager, sorry.

> I could invert the image but that would make it worse on every other
> Xorg app I use.

Or perhaps ask those other programs to call XRecolorCursor with the
right colors after loading a core cursor with the Xcursor library.





  reply	other threads:[~2022-08-18 12:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-17 18:38 bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame Visuwesh
2022-08-18  2:44 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-18 12:00   ` Visuwesh
2022-08-18 12:49     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-08-18 12:59       ` Visuwesh
2022-08-19  1:47         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-19 13:34       ` Visuwesh
2022-08-19 14:07         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-19 14:47           ` Visuwesh

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=87ilmpogxi.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=57264@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=visuweshm@gmail.com \
    /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).