GNU bug report logs - #57264
29.0.50; Wrong xcursor colour when over an Emacs frame

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Visuwesh <visuweshm@HIDDEN>; dated Wed, 17 Aug 2022 18:39:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 57264 <at> debbugs.gnu.org:


Received: (at 57264) by debbugs.gnu.org; 19 Aug 2022 13:34:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 19 09:34:31 2022
Received: from localhost ([127.0.0.1]:57595 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oP28t-0002K6-2L
	for submit <at> debbugs.gnu.org; Fri, 19 Aug 2022 09:34:31 -0400
Received: from mail-pj1-f68.google.com ([209.85.216.68]:42694)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1oP28r-0002Jv-Tv
 for 57264 <at> debbugs.gnu.org; Fri, 19 Aug 2022 09:34:30 -0400
Received: by mail-pj1-f68.google.com with SMTP id
 s3-20020a17090a2f0300b001facfc6fdbcso4223392pjd.1
 for <57264 <at> debbugs.gnu.org>; Fri, 19 Aug 2022 06:34:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:references
 :message-id:date:in-reply-to:subject:cc:to:from:from:to:cc;
 bh=79emnFW4pZTY05FaeEcN0rELlGUjNBw6SMRun/Ye8u0=;
 b=id8dveF5MjNYYNiQNm6BQxkqAN0bi8sM0scYe4kEgagkwzXyqoIf6l5VOfHTMrh2nY
 tesYpFf2mk6sYGNvOQTTSFrkfZecpblanT3/LEu55CmaQ5RnMoLvcwAfmZ4czmp/EJDY
 Qt5wKHfXlW+9DOazFL7Lmsyab9SeROJ4v1v+qZCn13g8BNPgvvdEZP57DcALQaWSipQ7
 kojdoKHSQ0wCSs+2k8L2yfSjMQ1ulRt45kcg5dzXEW1pZ2MqsAGONXT8/Stx8Eq9HhaS
 mGGkIubx5MzSdl5nbqsXBxPEBVYBGn+d3wVnidn+DpA85q5RLtr3X4krPzUod/2pe92O
 XFzw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:references
 :message-id:date:in-reply-to:subject:cc:to:from:x-gm-message-state
 :from:to:cc;
 bh=79emnFW4pZTY05FaeEcN0rELlGUjNBw6SMRun/Ye8u0=;
 b=C4tdAXmjZa3wwevO2/001O2fjfc7nHazfCEwk8yUERqWsMvi+d9QODakm3+FkuZ8PV
 OqkfXUayUWXH/5VsjMbNjDcORKdvPH7hsxrDATYrP1uphSNoClU//xXMJ8DT1LG/LskT
 BJIqluapnhApyRtp45ki+h3X4HrGXUCZNM+uNRxnrWkw5sTv5K4RfZT+ojQLINR427vZ
 zSMoVHwjbN+fhXcBWdow1Avjvv1jlWbk6aa9L/W5CybDQr5eAAvqZc9hpubvcEuDc0JN
 GsK4ZRjMGJ+AvjTTh6JnYOHS9vHbJMD42Dc9qDAw6pfkDRsA8EX1oYFKmK3GXqM1rB/v
 Uo5w==
X-Gm-Message-State: ACgBeo1NQOfpN56MnZfExjTlewurbzaNHVOCF13JO/0N10rQhaJGy1uh
 z6tXiwRxUrdPhmIzXkLK148=
X-Google-Smtp-Source: AA6agR4wdE20oJnwvYvSaFaf4N1xkqG4EjdOIlXCS0fVr0ciSMczn4bW1Te+vlxgQ+yiNMqCcVKxug==
X-Received: by 2002:a17:902:7c94:b0:170:aed6:7e6c with SMTP id
 y20-20020a1709027c9400b00170aed67e6cmr7211521pll.10.1660916063028; 
 Fri, 19 Aug 2022 06:34:23 -0700 (PDT)
Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id
 c25-20020a631c59000000b0041b29fd0626sm2831790pgm.88.2022.08.19.06.34.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 19 Aug 2022 06:34:22 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
In-Reply-To: <87ilmpogxi.fsf@HIDDEN> (Po Lu's message of "Thu, 18 Aug 2022
 20:49:13 +0800")
Date: Fri, 19 Aug 2022 19:04:15 +0530
Message-ID: <87v8qocq7c.fsf@HIDDEN>
References: <87mtc2g1gs.fsf@HIDDEN> <87zgg2nucd.fsf@HIDDEN>
 <8735dtahj2.fsf@HIDDEN> <87ilmpogxi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57264
Cc: 57264 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

[=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=86=E0=AE=95=
=E0=AE=B8=E0=AF=8D=E0=AE=9F=E0=AF=8D 19, 2022] Po Lu wrote:

> Visuwesh <visuweshm@HIDDEN> writes:
>
>> [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=
=86=E0=AE=95=E0=AE=B8=E0=AF=8D=E0=AE=9F=E0=AF=8D 18, 2022] Po Lu via "Bug r=
eports for GNU Emacs, the Swiss army knife of text editors" wrote:
>>
>>> Visuwesh <visuweshm@HIDDEN> writes:
>>>
>>>> Almost every Xorg app I have (add mpv, sxiv and meh to the earlier lis=
t)
>>>> 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.

[ BTW, my window manager shows the left_ptr.  ]

>> What is the default X cursor, anyway?  I thought it was XC_left_ptr [1]
>> and AFAICT, the theme does have left_ptr.
>
> The default X cursor is XC_X_cursor (x-pointer-X-cursor in Emacs.)

Thanks.  But do you know why I am seeing this behaviour?  I cannot see
what is wrong with the theme.  Supposedly, the input to the xcursorgen
program and the image files are good.  I opened the generated Xcursor
file in GIMP and it is also of the expected colours.  I am unfortunately
lost and I would be really grateful if you can give any pointers.

BTW, all this made me think: why not let the user set the foreground
colour of the cursor, via the mouse face, too?  This would at least
solve my problem immediately despite being an awful hack.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.

Message received at 57264 <at> debbugs.gnu.org:


Received: (at 57264) by debbugs.gnu.org; 19 Aug 2022 01:48:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 18 21:47:59 2022
Received: from localhost ([127.0.0.1]:56957 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oOr79-0000W0-IN
	for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 21:47:59 -0400
Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:32779)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1oOr76-0000V5-Sm
 for 57264 <at> debbugs.gnu.org; Thu, 18 Aug 2022 21:47:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1660873669; bh=FzJaN7/F2y/Bj46P+Pxi7Z5dTyB3b1oCihtN7biQBmA=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=S94VIppOatDxWLUnBBWjTfYuD8yEDdudik46DwBkU6/Z32kR9WP8T4TKyR1JG8p1tNVOTlP17JMfP1mi33Rtuo4l7ZeO3Q60IQtpMwngGFSbSpZQQXnzsM5i8WaCw06a4tVX7XvwvpTuJ51F8VhxtZegF5PR54HtsYIHWA79dqZzq4nGO1pqe/fpaNdHKz2s/NcknJ3b+U6WdF8GBPKKyOUmDBKkMjGScd7tfdjr4zQV414C8rFMG8QFx6obpnRj7cdK4pguiPeEuANxIlLg3K/Rhk1hm/1hJ2SH8iJSVKogSfi5nb3jhxtOfxgUq6BPvzZd0idmJzha7VzXD3lMng==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1660873669; bh=bggN3edNjspdIZVHCyoOwOPK8oBRVKIlEdWZjgcBL3a=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=uU9kSUEaEwaAEjLLBpo4b2IGI2KrJSZ1QU1qhPDs4eYNj0NAtGl5I4/oYtlorqk68az2ASAUP7CiICebGFsmOUZxHn8MVccq6eCUR8/pYPblZMq9A9GoA8+nHi/v7nhC/YG7V8vZgr0vlww9gp4Gs1G6lz6DWXvpOI3Xf1yDHwAbiBlZWDKAKGwDM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KunIFIGkCcbO5mmnSFoQfycFpbFz7uDQF
 G56o4kRkx0V7i_DHTtiQ5ooo0pB8E1Zd3NWFu3k9qTK9Cji5smXmB.Ennam1IqqBau3ONqVT6HiB
 CVEkYcF7hDqDAQOfxkxbRgfHypAz1g4m7AXu9QpsPTm35TnzH4xuTWHeiMuN8ST6RFHbzYRfhopW
 xucDa5x1YXvpN6h4C8sv.ZJinZzWjtn.JC2a8V8mWie9z4zGBt0S5QHRci_fsMJqr6RBootXh8x3
 S9mNnDEFXlR.CCFh4X9PbR2NgP57YYkMbOUa0mXZPH6_yfh_sE8tMrCntBmGY91Ov0ojAJYK3Mz7
 OXeoYKO8FzZ8BgHuHGFtc5Ss_XVcs6JRmbs3zOnPsp0i2Di8cM6lrxvvAOYlXlA--
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic311.consmr.mail.ne1.yahoo.com with HTTP; Fri, 19 Aug 2022 01:47:49 +0000
Received: by hermes--canary-production-sg3-6f58cd9b5-jq7xs (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 667ba3f280c5e87d7999fd68c4404e32; 
 Fri, 19 Aug 2022 01:47:42 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Visuwesh <visuweshm@HIDDEN>
Subject: Re: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
References: <87mtc2g1gs.fsf@HIDDEN> <87zgg2nucd.fsf@HIDDEN>
 <8735dtahj2.fsf@HIDDEN> <87ilmpogxi.fsf@HIDDEN>
 <87y1vl906o.fsf@HIDDEN>
Date: Fri, 19 Aug 2022 09:47:34 +0800
In-Reply-To: <87y1vl906o.fsf@HIDDEN> (Visuwesh's message of "Thu, 18 Aug
 2022 18:29:59 +0530")
Message-ID: <87a681ngw9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.20560
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1144
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57264
Cc: 57264 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Visuwesh <visuweshm@HIDDEN> writes:

> [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=
=86=E0=AE=95=E0=AE=B8=E0=AF=8D=E0=AE=9F=E0=AF=8D 18, 2022] Po Lu via "Bug r=
eports for GNU Emacs, the Swiss army knife of text editors" wrote:
>
>> Visuwesh <visuweshm@HIDDEN> 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.

> What is the default X cursor, anyway?  I thought it was XC_left_ptr [1]
> and AFAICT, the theme does have left_ptr.

The default X cursor is XC_X_cursor (x-pointer-X-cursor in Emacs.)

> I took a quick look and it seems to use xcb_cursor_load_cursor.
> https://github.com/awesomeWM/awesome/blob/7a8fa9d27a7907ab81e60274c925ba6=
5d10015aa/common/xcursor.c

Right, I think that's also problematic (compared to XCreateFontCursor.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.

Message received at 57264 <at> debbugs.gnu.org:


Received: (at 57264) by debbugs.gnu.org; 18 Aug 2022 13:00:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 18 09:00:17 2022
Received: from localhost ([127.0.0.1]:54197 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oOf8D-0008RF-7H
	for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 09:00:17 -0400
Received: from mail-pf1-f194.google.com ([209.85.210.194]:39617)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1oOf84-0007bs-6q
 for 57264 <at> debbugs.gnu.org; Thu, 18 Aug 2022 09:00:12 -0400
Received: by mail-pf1-f194.google.com with SMTP id 130so1463844pfy.6
 for <57264 <at> debbugs.gnu.org>; Thu, 18 Aug 2022 06:00:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc;
 bh=EhlVwRK6oUfhqt7jrpi08KciLl1gt2wwV98Zxx5FACc=;
 b=VJFO9hFJPWVf8dvm1L+Mi36fICcsSWp8Ldgc23qoIee/85lVTr+F395NSCkJ6mmRJY
 X3GEh7Cfitp4eCwlhTdTyN6rDPloWws8PjEAMN4YeP4KF23aIT5x+UEVY1GhmE/8FIBL
 ETflj2UZTqAlCjH2mfkxyp7rty8U7cz2ZzwHDORg6PgMl/5t6/XCLpkssvzLHzHAFUys
 hI9KA6OFz64ch20tUXe8sZi6lxWCsIda0H/yXvAAQ6Md532Vo2qitOMBEcr8qbLD6DcG
 hTC4yVxj3nBDsXBpzq/V/pZQXO0by2V24BYA5pwb7zT7nbFblLh2qoLYC7l4tVzEVX2x
 tsnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc;
 bh=EhlVwRK6oUfhqt7jrpi08KciLl1gt2wwV98Zxx5FACc=;
 b=CU3TGkaSE9P2xd0uKCs18yhG966fdo1rpVIzEn6TJ5CzF9S/ygaGksTA8ndOGEntDY
 vDrQATeXeBONdbgNJjI9bSx/RbUs44+cjOBJcTu9BDgRX/0TdrZrLLXuy7+qvmUnC358
 7A9AZazY4itkZPWD979FLhJMjsLf+IKXQZo59OdveSOCpaMWviEXFeb4n6tzfUFe2cCC
 yIJeGz4t9XlOdBpf/kzj+9hLpC9Ldmirfm4BZ3AEPcdZog+JqOcSQtl3Qs4Ueauwc37q
 blfYuqv0SKqbvHRwcObuJnBrOOQge7cq5/EOhrX+1tpqTaGc+6Fr1W/imXwoiSOLqPPV
 sAmQ==
X-Gm-Message-State: ACgBeo1F378el+PNegzuM7n4LX3q4aNBZ7J1y5Rtbl8DyzRoasco0Nng
 cuooQLoqfVcfgnLvgzza0TA=
X-Google-Smtp-Source: AA6agR6EDsrkC/5S4TRhPXwqHi4GpvKleZzTzJRrtNL7OUfhFrar7pRW5C2Ie/AkDwQvC4VyA4n3Jw==
X-Received: by 2002:a63:db17:0:b0:41b:8e02:3e80 with SMTP id
 e23-20020a63db17000000b0041b8e023e80mr2374823pgg.235.1660827602272; 
 Thu, 18 Aug 2022 06:00:02 -0700 (PDT)
Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id
 o185-20020a625ac2000000b0052b7f0ff197sm1550341pfb.49.2022.08.18.06.00.00
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 18 Aug 2022 06:00:01 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
To: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
In-Reply-To: <87ilmpogxi.fsf@HIDDEN> (Po Lu via's message of "Thu, 18 Aug
 2022 20:49:13 +0800")
References: <87mtc2g1gs.fsf@HIDDEN> <87zgg2nucd.fsf@HIDDEN>
 <8735dtahj2.fsf@HIDDEN> <87ilmpogxi.fsf@HIDDEN>
Date: Thu, 18 Aug 2022 18:29:59 +0530
Message-ID: <87y1vl906o.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  [வியாழன் ஆகஸ்ட் 18, 2022] Po Lu
   via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:
    > Visuwesh 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 se [...] 
 
 Content analysis details:   (3.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [118.185.152.162 listed in zen.spamhaus.org]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.210.194 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.210.194 listed in wl.mailspike.net]
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Debbugs-Envelope-To: 57264
Cc: Po Lu <luangruo@HIDDEN>, 57264 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  [வியாழன் ஆகஸ்ட் 18, 2022] Po Lu
   via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:
    > Visuwesh 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 se [...] 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [118.185.152.162 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.210.194 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.210.194 listed in wl.mailspike.net]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

[=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=86=
=E0=AE=95=E0=AE=B8=E0=AF=8D=E0=AE=9F=E0=AF=8D 18, 2022] Po Lu via "Bug repo=
rts for GNU Emacs, the Swiss army knife of text editors" wrote:

> Visuwesh <visuweshm@HIDDEN> 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.

What is the default X cursor, anyway?  I thought it was XC_left_ptr [1]
and AFAICT, the theme does have left_ptr.

> mpv also does not set a cursor, but inherits the cursor from the frame
> window provided by the window manager.

I thought this would be the case in some of these programs.

> 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 took a quick look and it seems to use xcb_cursor_load_cursor.
https://github.com/awesomeWM/awesome/blob/7a8fa9d27a7907ab81e60274c925ba65d=
10015aa/common/xcursor.c

>> 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.

Unfortunately, that would be a huge undertaking.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 13:00:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 18 09:00:13 2022
Received: from localhost ([127.0.0.1]:54195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oOf88-0008Aa-Ob
	for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 09:00:13 -0400
Received: from lists.gnu.org ([209.51.188.17]:43886)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1oOf83-0007uX-Of
 for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 09:00:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44746)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1oOf82-0001w4-5Q
 for bug-gnu-emacs@HIDDEN; Thu, 18 Aug 2022 09:00:07 -0400
Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:41858)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1oOf80-0004Kj-6d
 for bug-gnu-emacs@HIDDEN; Thu, 18 Aug 2022 09:00:05 -0400
Received: by mail-pf1-x443.google.com with SMTP id q19so1454642pfg.8
 for <bug-gnu-emacs@HIDDEN>; Thu, 18 Aug 2022 06:00:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc;
 bh=EhlVwRK6oUfhqt7jrpi08KciLl1gt2wwV98Zxx5FACc=;
 b=VJFO9hFJPWVf8dvm1L+Mi36fICcsSWp8Ldgc23qoIee/85lVTr+F395NSCkJ6mmRJY
 X3GEh7Cfitp4eCwlhTdTyN6rDPloWws8PjEAMN4YeP4KF23aIT5x+UEVY1GhmE/8FIBL
 ETflj2UZTqAlCjH2mfkxyp7rty8U7cz2ZzwHDORg6PgMl/5t6/XCLpkssvzLHzHAFUys
 hI9KA6OFz64ch20tUXe8sZi6lxWCsIda0H/yXvAAQ6Md532Vo2qitOMBEcr8qbLD6DcG
 hTC4yVxj3nBDsXBpzq/V/pZQXO0by2V24BYA5pwb7zT7nbFblLh2qoLYC7l4tVzEVX2x
 tsnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc;
 bh=EhlVwRK6oUfhqt7jrpi08KciLl1gt2wwV98Zxx5FACc=;
 b=k61VxgjSIi/leLPA7ZR7ACJyjl5g317wy+nXrfmz8A8p6c/Qj7927gUkgq9OMiQF+C
 GLVVYCCKrUp/ZKECz2lXp0qzh4Xwo5FrxBSZKy/6dSp4w+gpTN8JEmslVlj7tnkPBDJP
 Qzj0pfN3sE/PZxKQuY+fKb8wL1AlyAkNf4BhqOcBJ3VR+Uz+Eb8QxMfzyLLzI59aL4zA
 Ox+RtZzMjDQAIg3/rfGgN7P7jll+JbBPOXKhwKry2uBn2eRweqH8FIpejk/yhT0eaQ4N
 6on4By1LQmlme6UzSt+TKu/zUTUzRTnuvK3AKpYhHsVZ1QC+0hWp6zhlvMtdbJF5Lt4y
 3pqw==
X-Gm-Message-State: ACgBeo2mJVDA8Bv5yE+J8+U3lrb9xodhY1OO7cqKsk12zayYDdKKCxCc
 CLpciS3BEYeXRTxlEX+CO8FMqXQA8as=
X-Google-Smtp-Source: AA6agR6EDsrkC/5S4TRhPXwqHi4GpvKleZzTzJRrtNL7OUfhFrar7pRW5C2Ie/AkDwQvC4VyA4n3Jw==
X-Received: by 2002:a63:db17:0:b0:41b:8e02:3e80 with SMTP id
 e23-20020a63db17000000b0041b8e023e80mr2374823pgg.235.1660827602272; 
 Thu, 18 Aug 2022 06:00:02 -0700 (PDT)
Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id
 o185-20020a625ac2000000b0052b7f0ff197sm1550341pfb.49.2022.08.18.06.00.00
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 18 Aug 2022 06:00:01 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
To: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
In-Reply-To: <87ilmpogxi.fsf@HIDDEN> (Po Lu via's message of "Thu, 18 Aug
 2022 20:49:13 +0800")
References: <87mtc2g1gs.fsf@HIDDEN> <87zgg2nucd.fsf@HIDDEN>
 <8735dtahj2.fsf@HIDDEN> <87ilmpogxi.fsf@HIDDEN>
Date: Thu, 18 Aug 2022 18:29:59 +0530
Message-ID: <87y1vl906o.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::443;
 envelope-from=visuweshm@HIDDEN; helo=mail-pf1-x443.google.com
X-Spam_score_int: 12
X-Spam_score: 1.2
X-Spam_bar: +
X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.2 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  [வியாழன் ஆகஸ்ட் 18, 2022] Po Lu
   via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:
    > Visuwesh 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 se [...] 
 
 Content analysis details:   (2.2 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [118.185.152.162 listed in zen.spamhaus.org]
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
                             medium trust
                             [209.51.188.17 listed in list.dnswl.org]
X-Debbugs-Envelope-To: submit
Cc: Po Lu <luangruo@HIDDEN>, 57264 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  [வியாழன் ஆகஸ்ட் 18, 2022] Po Lu
   via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:
    > Visuwesh 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 se [...] 
 
 Content analysis details:   (1.2 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [118.185.152.162 listed in zen.spamhaus.org]
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
                             medium trust
                             [209.51.188.17 listed in list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

[=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=86=
=E0=AE=95=E0=AE=B8=E0=AF=8D=E0=AE=9F=E0=AF=8D 18, 2022] Po Lu via "Bug repo=
rts for GNU Emacs, the Swiss army knife of text editors" wrote:

> Visuwesh <visuweshm@HIDDEN> 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.

What is the default X cursor, anyway?  I thought it was XC_left_ptr [1]
and AFAICT, the theme does have left_ptr.

> mpv also does not set a cursor, but inherits the cursor from the frame
> window provided by the window manager.

I thought this would be the case in some of these programs.

> 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 took a quick look and it seems to use xcb_cursor_load_cursor.
https://github.com/awesomeWM/awesome/blob/7a8fa9d27a7907ab81e60274c925ba65d=
10015aa/common/xcursor.c

>> 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.

Unfortunately, that would be a huge undertaking.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.

Message received at 57264 <at> debbugs.gnu.org:


Received: (at 57264) by debbugs.gnu.org; 18 Aug 2022 12:49:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 18 08:49:34 2022
Received: from localhost ([127.0.0.1]:54190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oOexq-0007Ln-HM
	for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 08:49:34 -0400
Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]:40256)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1oOexo-0007LX-2u
 for 57264 <at> debbugs.gnu.org; Thu, 18 Aug 2022 08:49:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1660826964; bh=soOcHNZN2osha02E6B0PNpuI2W/KCJPVih+rqWf7rAo=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=hYaG8C/bzEYQL8TAuYqjWR2liafEk3t0bQ/8Wp888nBND9ppQq1fkhTgfFZhbrpyzBDnN4Ux/uYFMI3mUBHo/ty1bus14yuFaXWacnAVZoifCSs0hCwPJ+2VUUB1lAL27bzvKBOl+D2k3PRTA3BowqC/oRH9tFxkUH4lzLmW/+bwbzkB4kmrRS7EBJiqSIWA7DA2y5VyXs51OXpfvopM+59A8ciCCpP1xXnGkDZyxVwDRbT+gFWsvJpwG5tv9SPyp/UdWnxcTxyEWbOvsxKV3XpJ7BLKd8bLYMUzJpvFkdMO0i8x+O6E6y+O6ZQhdF5fXysCNML8MnPdTEJPs9Zv7A==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1660826964; bh=OUS6iM+2wU3wLsBqJZJMcQhj9DS5DuDcYQ3RTgpZ0JW=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=CfdmsgxFMIrXBQzgS5uW7CNLIVNjDDd4rDU16LUctfp/lhLzYGaYAtGQCHOdHtnV09/Ep98209N85lbS5f9yYvmsGSnSga23MkDRQTNAlt6OG4j2fBAaAvWXLagVkKjyJ/qhHka+/sAWFsIJbsqmuftR03pgB2H7iMEpsCWrBfLBBQWzVb6dnm9bK+ulXtRIwkdxRAkK4hrvFsIBX/iQIiirq8ahLL8MnZ+ORIN/yInSqoezfyf+FN9jaf/2U+202tRGnpjdMvBOhsa4NbVqIM2GNTv5MSGlHWiqgGMNIIFAfT3jnMhPVzQx8C4wcZV5jerkM3pBY4ZWeeCu72Tmvw==
X-YMail-OSG: oNOcoOYVM1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y38vL05TQrRKtwmJ5gCbtcFuH8ZAQig8E48u
 2zhvdbO63XMlbCTfoLKcW7cOb.pBl5xe8smRjlpN3ondhVyPArVsVwKcl.uPxxkVPCCRPbuRInbv
 3lOW2c46OfNwhP_LVARDtIPsKG7btG0C5560lExMm3prp7FTsUmcviNVTWDhtAHwkKKPQVRJdd7B
 NjnHZdl30DwnZIVgTeKIm4SLnCWHmz3KVMBYl_h8I3S36xJiJn3FxflOB7BBzTQ--
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic304.consmr.mail.ne1.yahoo.com with HTTP; Thu, 18 Aug 2022 12:49:24 +0000
Received: by hermes--canary-production-sg3-6f58cd9b5-vlgxl (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 689544ccde4343a24ba7d3e4aa8e21f9; 
 Thu, 18 Aug 2022 12:49:18 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Visuwesh <visuweshm@HIDDEN>
Subject: Re: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
References: <87mtc2g1gs.fsf@HIDDEN> <87zgg2nucd.fsf@HIDDEN>
 <8735dtahj2.fsf@HIDDEN>
Date: Thu, 18 Aug 2022 20:49:13 +0800
In-Reply-To: <8735dtahj2.fsf@HIDDEN> (Visuwesh's message of "Thu, 18 Aug
 2022 17:30:01 +0530")
Message-ID: <87ilmpogxi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.20531
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1075
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Visuwesh 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 defa [...] 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in
 bl.spamcop.net
 [Blocked - see <https://www.spamcop.net/bl.shtml?66.163.191.147>]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [66.163.191.147 listed in list.dnswl.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (luangruo[at]yahoo.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
X-Debbugs-Envelope-To: 57264
Cc: 57264 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

Visuwesh <visuweshm@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.

Message received at 57264 <at> debbugs.gnu.org:


Received: (at 57264) by debbugs.gnu.org; 18 Aug 2022 12:00:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 18 08:00:30 2022
Received: from localhost ([127.0.0.1]:54139 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oOeCL-000645-Tg
	for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 08:00:30 -0400
Received: from mail-pj1-f65.google.com ([209.85.216.65]:51729)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1oOeCI-00063O-BM
 for 57264 <at> debbugs.gnu.org; Thu, 18 Aug 2022 08:00:26 -0400
Received: by mail-pj1-f65.google.com with SMTP id e19so269092pju.1
 for <57264 <at> debbugs.gnu.org>; Thu, 18 Aug 2022 05:00:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc;
 bh=cTYvUUJfqnD6lv49pm4K0K7nlDsKeEnCEDzFwswSDMM=;
 b=DWVh/gHLMeYkcXW4AnjHyTIT7iEsCInejZUOlR+KnC4HOinf8XRbfQi9Luj1rdcDdy
 BVY0dqFjvzMN2V38SQjF8BFl+kX3NSrg0amS/sNUgYNqANNGvSTmmllT7hOiFv4lqIDJ
 8AsQhmy2ztnSVYnUUeQiygqOoeqLAm/R+KYneAiMneFJlgpOemEvrUDfBuMm+RC551mX
 AUeZEdhLVB5Xzi9Fw1UPafKxNSPFKoYJrdUYVXaOg2/SjXJhnbpIe6Wqjkd2fDszf7Qi
 6TA6nBoVYKTyGlA2bSKzn1cFPOqvRGhWIcYtORXAt7exKJpssendir5GGkBR0pomX5dk
 znnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc;
 bh=cTYvUUJfqnD6lv49pm4K0K7nlDsKeEnCEDzFwswSDMM=;
 b=Bf6VyPFJ9eHrs811A7y4XdR/Nms88Ra3k3zsGUHr4l9PutvZuRpJKCP9+Fzijy7Nko
 6jMLVBck79IKXP4xFEffUZTohCJu7dAlt6T09+5CMxsbZPLIQ2rVqBH3fN3zqajRZOdG
 AeVDwpF0ZgCzzK6O2CNjRQ3KmV89MDIhwHVI12oQCuIpsTWJAH1yeu4fgddBlIymKZHU
 lQOJLEH8wtTG29ukx+IRO21ep3D7at2ZtEgRiXpBafJdO58LDoTGsBB+Qm1zbn7MIK00
 T3QJv4/MmXzMw8h2V3PdhmQ7KaghSgBzVMxmCmsK68iZ521jFR0tm/QAEhf8PUhnLJUb
 G0GQ==
X-Gm-Message-State: ACgBeo2HHaSAwqDL9ZkAGdoOKa06ZApkQGVRJmSnUoh1gJbYUOdbIJKb
 zStkdoF5FTILPjbR0Yqm4/4=
X-Google-Smtp-Source: AA6agR7VNFfGic0htxHhR8+8mLuvDNCIz/ydUXEaUraaQpRVFRkKqZ9axrlF4rIxcto20unpvp8azQ==
X-Received: by 2002:a17:902:ecd2:b0:16e:d87f:d19e with SMTP id
 a18-20020a170902ecd200b0016ed87fd19emr2308461plh.75.1660824020247; 
 Thu, 18 Aug 2022 05:00:20 -0700 (PDT)
Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id
 j7-20020a170902da8700b0017284f4a10esm1240382plx.227.2022.08.18.05.00.18
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 18 Aug 2022 05:00:19 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
To: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
In-Reply-To: <87zgg2nucd.fsf@HIDDEN> (Po Lu via's message of "Thu, 18 Aug
 2022 10:44:50 +0800")
References: <87mtc2g1gs.fsf@HIDDEN> <87zgg2nucd.fsf@HIDDEN>
Date: Thu, 18 Aug 2022 17:30:01 +0530
Message-ID: <8735dtahj2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57264
Cc: Po Lu <luangruo@HIDDEN>, 57264 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

[=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=86=
=E0=AE=95=E0=AE=B8=E0=AF=8D=E0=AE=9F=E0=AF=8D 18, 2022] Po Lu via "Bug repo=
rts for GNU Emacs, the Swiss army knife of text editors" wrote:

> Emacs is doing the right thing here, along with st, xterm, urxvt, et
> cetera.  The bug lies in the other programs where the cursor is mostly
> black with a white border.

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.
I'm using the awesome window manager here if it matters.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 12:00:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 18 08:00:25 2022
Received: from localhost ([127.0.0.1]:54132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oOeCH-00063h-8C
	for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 08:00:25 -0400
Received: from lists.gnu.org ([209.51.188.17]:47808)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1oOeCG-00063V-3p
 for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 08:00:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38686)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1oOeCF-0000Sg-Qk
 for bug-gnu-emacs@HIDDEN; Thu, 18 Aug 2022 08:00:23 -0400
Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]:50732)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1oOeCE-0002lX-BA
 for bug-gnu-emacs@HIDDEN; Thu, 18 Aug 2022 08:00:23 -0400
Received: by mail-pj1-x1041.google.com with SMTP id g18so1505904pju.0
 for <bug-gnu-emacs@HIDDEN>; Thu, 18 Aug 2022 05:00:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc;
 bh=cTYvUUJfqnD6lv49pm4K0K7nlDsKeEnCEDzFwswSDMM=;
 b=DWVh/gHLMeYkcXW4AnjHyTIT7iEsCInejZUOlR+KnC4HOinf8XRbfQi9Luj1rdcDdy
 BVY0dqFjvzMN2V38SQjF8BFl+kX3NSrg0amS/sNUgYNqANNGvSTmmllT7hOiFv4lqIDJ
 8AsQhmy2ztnSVYnUUeQiygqOoeqLAm/R+KYneAiMneFJlgpOemEvrUDfBuMm+RC551mX
 AUeZEdhLVB5Xzi9Fw1UPafKxNSPFKoYJrdUYVXaOg2/SjXJhnbpIe6Wqjkd2fDszf7Qi
 6TA6nBoVYKTyGlA2bSKzn1cFPOqvRGhWIcYtORXAt7exKJpssendir5GGkBR0pomX5dk
 znnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc;
 bh=cTYvUUJfqnD6lv49pm4K0K7nlDsKeEnCEDzFwswSDMM=;
 b=A6XLfW462QlpBKfPAvypT4tzM47uYcL8LjElFODJWKYh3LNCjLneBg8+fvHUixYM3I
 8payJbiF4TWHElWG5P10BAz83HvcTlW9pn04UFEEUUjBq8+9RsRfJApuE+XKb4q29ELp
 /Df5Bx4hq79wAAI87BHrRwK3chvZk9aNxc2IZ8e5jqqyr6FR7z0YlVM97/ZbHJ7Z/ODQ
 +ikzTV3vblj2U6zvQGs/u+VZ5GE5i0ssSwRHD02zdETDwOzZTZL4nNJJNi3Yb+Vw4CRo
 gv4iV1Dm+buwlxMV5ueeDs+Aej+lZ63A3vnamRtgLy7rnRlcxpXFoH7wUt0lR+A5cMjM
 uKEA==
X-Gm-Message-State: ACgBeo1fU/V1Uys6Aa6EyBPh3yeZsFQf1xgRxrRHWmO/DSpEbVWOmjIa
 GdVf+Ik2woZy3SZHoUirGVP5kiE3ZHc=
X-Google-Smtp-Source: AA6agR7VNFfGic0htxHhR8+8mLuvDNCIz/ydUXEaUraaQpRVFRkKqZ9axrlF4rIxcto20unpvp8azQ==
X-Received: by 2002:a17:902:ecd2:b0:16e:d87f:d19e with SMTP id
 a18-20020a170902ecd200b0016ed87fd19emr2308461plh.75.1660824020247; 
 Thu, 18 Aug 2022 05:00:20 -0700 (PDT)
Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id
 j7-20020a170902da8700b0017284f4a10esm1240382plx.227.2022.08.18.05.00.18
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 18 Aug 2022 05:00:19 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
To: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
In-Reply-To: <87zgg2nucd.fsf@HIDDEN> (Po Lu via's message of "Thu, 18 Aug
 2022 10:44:50 +0800")
References: <87mtc2g1gs.fsf@HIDDEN> <87zgg2nucd.fsf@HIDDEN>
Date: Thu, 18 Aug 2022 17:30:01 +0530
Message-ID: <8735dtahj2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::1041;
 envelope-from=visuweshm@HIDDEN; helo=mail-pj1-x1041.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Po Lu <luangruo@HIDDEN>, 57264 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

[=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=86=
=E0=AE=95=E0=AE=B8=E0=AF=8D=E0=AE=9F=E0=AF=8D 18, 2022] Po Lu via "Bug repo=
rts for GNU Emacs, the Swiss army knife of text editors" wrote:

> Emacs is doing the right thing here, along with st, xterm, urxvt, et
> cetera.  The bug lies in the other programs where the cursor is mostly
> black with a white border.

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.
I'm using the awesome window manager here if it matters.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.

Message received at 57264 <at> debbugs.gnu.org:


Received: (at 57264) by debbugs.gnu.org; 18 Aug 2022 02:45:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 17 22:45:07 2022
Received: from localhost ([127.0.0.1]:53360 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oOVWs-0005eu-N5
	for submit <at> debbugs.gnu.org; Wed, 17 Aug 2022 22:45:06 -0400
Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:44812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1oOVWp-0005e5-Pd
 for 57264 <at> debbugs.gnu.org; Wed, 17 Aug 2022 22:45:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1660790697; bh=oovZX5yAXzYW68l9976LxWoch7X9xlqmG76AiTh/QLM=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=LN/Wf+35Eg/dBRuUR/l9csinumfBBx1GZiLW8fH89RQULYEVcJxcNV4nBP2CAVFFgfU0PyJYPKD2M3Ljd7gGQ18omXrNmHRSCSgiywEZKck1UWd8dZgSIAYHgZbQShIfKaex3aAlj4C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M_css249sflshj.WOZTocVbMWsTVj
 BnhHln93J9CuA4jgGWwhwLITL__CmsTMhdE6hyJYezmN6h7f0ub1PXlXpzmXtyZSGQC5tRMHeUht
 PSNbR_G.UJeHKN3ePBE24O2g476GOJfnDo2mhvCHLSJDgP90umEUSrJJKdnB5zrqwIvdxqaVkhCO
 0h0UKu7JL_vVC3YAJDbHJ5e8elC9FcmF0GMU5Ef5F5szowUB0hpKYkTr8q.BUAxWzM8ATZ8x8ble
 8IxzcwPzT4fOiDqrK7CX1wmEcIXMXYAYfV4kCQORsAODRpKHvJPcTRDPKuCleQnirU2.nMGX13dL
 I_ssDfLZD2TFhQ1LN8mkl8kqkvtpanjK636mwY_nnZMOoqpMYkF7fSAUrTvP8Rxode80TceYlIrF
 _417mYpmlErLN33EYxC9hLaqqOM.B96zyE5Bm2n1dRId9nfzuaLHW8z3IteDLwo_AnkMGjb96mP4
 M8C4_719YmZlS0DXA4bRb_QmN3U20wh6CdvPfeucylg2Ow4tyWQkO5o2uWe4YFdUYHmGaNBXm8AB
 uqVh.0YalGbQUyXdePlaCQyBzwDKCoiRDohUqFm5ISLNYpGarW90ejdEwdmvu
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 18 Aug 2022 02:44:57 +0000
Received: by hermes--canary-production-sg3-6f58cd9b5-slt79 (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 8f40d826ed69d8f0c93019de94adadfd; 
 Thu, 18 Aug 2022 02:44:54 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Visuwesh <visuweshm@HIDDEN>
Subject: Re: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame
References: <87mtc2g1gs.fsf@HIDDEN>
Date: Thu, 18 Aug 2022 10:44:50 +0800
In-Reply-To: <87mtc2g1gs.fsf@HIDDEN> (Visuwesh's message of "Thu, 18 Aug
 2022 00:08:11 +0530")
Message-ID: <87zgg2nucd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.20531
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1130
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57264
Cc: 57264 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Visuwesh <visuweshm@HIDDEN> writes:

> When the mouse pointer is over an Emacs frame, the xcursor has the wrong
> colour; this is not observed with other Xorg apps like okular,
> libreoffice, ungoogled-chromium.
>
> Emacs has no problem with the default Xorg cursor theme---it is black as
> expected---but this happens when I use the xcursor theme from below.
>
> To reproduce,
>
>     1. Download and install the cursor theme from
>        https://=CF=80.duncano.de/files/xcursor-plan9-0.2.tar.xz
>     2. Launch emacs -Q as `XCURSOR_THEME=3Dplan9 emacs -Q'.
>     3. Move the cursor over the Emacs frame into a void area and observe
>        the left pointer colour.  It is white here.
>     4. Now repeat the same but for another application, the left pointer
>        colour is black as expected.
>
> Changing the mouse face's :background does not help.  It changes the
> border colour.  If it gives any clue, I also see this problem with st.
>
> Thanks.

Emacs is doing the right thing here, along with st, xterm, urxvt, et
cetera.  The bug lies in the other programs where the cursor is mostly
black with a white border.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Aug 2022 18:38:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 17 14:38:45 2022
Received: from localhost ([127.0.0.1]:53047 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oONwC-0001vZ-Qm
	for submit <at> debbugs.gnu.org; Wed, 17 Aug 2022 14:38:45 -0400
Received: from lists.gnu.org ([209.51.188.17]:42568)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1oONw6-0001vL-La
 for submit <at> debbugs.gnu.org; Wed, 17 Aug 2022 14:38:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54164)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1oONw6-0007jq-9A
 for bug-gnu-emacs@HIDDEN; Wed, 17 Aug 2022 14:38:38 -0400
Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:43533)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1oONw4-0006do-C1
 for bug-gnu-emacs@HIDDEN; Wed, 17 Aug 2022 14:38:38 -0400
Received: by mail-pg1-x544.google.com with SMTP id v4so8339015pgi.10
 for <bug-gnu-emacs@HIDDEN>; Wed, 17 Aug 2022 11:38:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:from:to:cc;
 bh=+SVmUZhxhvS0k/QSlkrHN7ko85dfvpfNnnnEzyKwoM4=;
 b=flJuT5oTXDMgM74z4cEzCtiT8QL8rY8M2HsHWOBzTR7pJl8O1VH4GPC2qRdrsovLWS
 LUs5Re+4k9zIBkc6gFCYTKfQWhTuqdc138FeND646Dmvs6i2De2MmpGYKFOObFqdviuv
 JxufwpGXsaG4PPHMrfLG3hrwiNPG2su7D15T9EJ2RmAj7+0PiTNNrr5CrPSHzrTMuNQW
 Ozyf74C3SDaPADhn8HbphrfzQ9VTDRVlp9LiY5fnjMs7aLLdcokwsRWGAtskJkTdrrdz
 NOUaTK3F1NCvb3oSU9UTQVgqk4nwVRehVhQ58gWHpK2OTgm7BmbYv7BQA0Ks4kAex8jz
 O+Sw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:x-gm-message-state:from:to:cc;
 bh=+SVmUZhxhvS0k/QSlkrHN7ko85dfvpfNnnnEzyKwoM4=;
 b=PdgmP1rzxD8ScI6N7esKht52vsdrrEjokMoM1mp+za32EnQjRKcNdXoalUV95IECIt
 prJ9QnfyBpHQ277v6aLilLjh2k06wCqHP7z6o26+w6Hchs3xBaHs2SSKLieK0RogcVO1
 /s79euLYo07xQYtd2NR7M7AYM408fUGbuE8Q5U2mhSM+n9gYeuhNlzxFjPVGuEtfduXO
 OLQq6/cvfN75HGao7E0Qi6EFbIzpzTDxU2TUVZrsuj7Mfmz4eNvONX0ZS8IOrP1kE8EK
 Dv4Ss7/kaRbqY0S3ttAyE+jbQ7jzbA6DPNT5X0qrRYiKRA1zoZVK5H1Evf9wLPI49wK8
 vF0A==
X-Gm-Message-State: ACgBeo3k0p1LZ5+606xZuu/YvgueH4800Cb0doKmsc4MP6oeDKFTvRx/
 urZORHzxupMdOgWynvE6jjcHlSruAt4=
X-Google-Smtp-Source: AA6agR6nhqFgd5djl04pVga/IN9rkxB0BNhWG08DAkzEVxhPsxtmAtlGC86n2kNSwXufWiuTEfpIbg==
X-Received: by 2002:aa7:8890:0:b0:52e:de90:7338 with SMTP id
 z16-20020aa78890000000b0052ede907338mr26823166pfe.46.1660761513735; 
 Wed, 17 Aug 2022 11:38:33 -0700 (PDT)
Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id
 y8-20020a17090322c800b00172938b2376sm259543plg.74.2022.08.17.11.38.31
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 17 Aug 2022 11:38:32 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; Wrong xcursor colour when over an Emacs frame
Date: Thu, 18 Aug 2022 00:08:11 +0530
Message-ID: <87mtc2g1gs.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::544;
 envelope-from=visuweshm@HIDDEN; helo=mail-pg1-x544.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


When the mouse pointer is over an Emacs frame, the xcursor has the wrong
colour; this is not observed with other Xorg apps like okular,
libreoffice, ungoogled-chromium.

Emacs has no problem with the default Xorg cursor theme---it is black as
expected---but this happens when I use the xcursor theme from below.

To reproduce,

    1. Download and install the cursor theme from
       https://=CF=80.duncano.de/files/xcursor-plan9-0.2.tar.xz
    2. Launch emacs -Q as `XCURSOR_THEME=3Dplan9 emacs -Q'.
    3. Move the cursor over the Emacs frame into a void area and observe
       the left pointer colour.  It is white here.
    4. Now repeat the same but for another application, the left pointer
       colour is black as expected.

Changing the mouse face's :background does not help.  It changes the
border colour.  If it gives any clue, I also see this problem with st.

Thanks.


In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, Xaw scroll b=
ars)
 of 2022-08-15 built on astatine
Repository revision: d5ee49c25c8f59ab17c40eebdf38a769c2f5588b
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Debian GNU/Linux bookworm/sid

Configured using:
 'configure --with-sound=3Dalsa --with-x-toolkit=3Dlucid --with-json
 --without-xaw3d --without-gconf --without-libsystemd --without-cairo'
Configured features:
ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XFT
XIM XINPUT2 XPM LUCID ZLIB
Important settings:
  value of $LC_MONETARY: ta_IN.UTF-8
  value of $LC_NUMERIC: ta_IN.UTF-8
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  paredit-mode: t
  eros-mode: t
  flymake-mode: t
  pdf-occur-global-minor-mode: t
  minibuffer-depth-indicate-mode: t
  repeat-mode: t
  display-time-mode: t
  display-battery-mode: t
  winner-mode: t
  acme-tag-minor-mode: t
  delete-selection-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  use-hard-newlines: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  undelete-frame-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/home/viz/lib/emacs/straight/build/faceup/faceup hides /home/viz/lib/ports/=
emacs/lisp/emacs-lisp/faceup

Features:
(shadow sort flyspell ispell ecomplete mail-extr emacsbug message
yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils sh-script smie executable rfc2104 cursor-sensor tramp-cache
time-stamp tramp-sh tramp tramp-loaddefs trampver tramp-integration
cus-start files-x tramp-compat shell pcomplete parse-time iso8601
ls-lisp face-remap server paredit edmacro kmacro eros time-date checkdoc
lisp-mnt flymake-proc flymake project warnings wordel-autoloads
sokoban-autoloads ement-autoloads svg-lib-autoloads
taxy-magit-section-autoloads magit-section-autoloads dash-autoloads
taxy-autoloads plz-autoloads nov-autoloads esxml-autoloads kv-autoloads
transmission-autoloads lua-mode-autoloads nix-mode-autoloads
racket-mode-autoloads pos-tip-autoloads faceup-autoloads eros-autoloads
flymake-shellcheck-autoloads writegood-mode-autoloads
siege-mode-autoloads paredit-autoloads puni-autoloads
expand-region-autoloads filladapt-autoloads compose quail
scroll-other-window org-pdftools-autoloads org-noter-autoloads
change-env-autoloads math-delimiters-autoloads doct-autoloads
ob-async-autoloads async-autoloads emacs-ob-racket-autoloads
valign-autoloads cdlatex-autoloads auctex-autoloads tex-site pdf-occur
ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter
semantic/wisent/comp semantic/wisent semantic/wisent/wisent
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu
pdf-tools package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source eieio eieio-core
json map byte-opt url-vars compile comint ansi-color cus-edit edebug
debug backtrace find-func icons wid-edit pdf-view password-cache
jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode dired-x
dired dired-loaddefs exif pdf-tools-autoloads tablist-autoloads mb-depth
repeat visual-fill-autoloads olivetti-autoloads time format-spec battery
dbus filenotify xml dom disp-table lacarte-autoloads winner ring
acme-tag shell-command+ thingatpt diff acme-tag-autoloads
shell-command-plus-autoloads delsel cus-load easy-mmode avy-autoloads
finder-inf vc-backup-autoloads compat-autoloads icalendar diary-lib
diary-loaddefs cal-menu calendar cal-loaddefs rx filecache
imenu-xref-autoloads derived chemtable-autoloads molar-mass-autoloads
saveplace-pdf-view saveplace bookmark text-property-search pp
saveplace-pdf-view-autoloads pcase inspector-autoloads xr-autoloads
straight-autoloads cl-seq info cl-extra help-mode straight subr-x
cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile cconv vz-nh-theme
vz-options-theme rmc iso-transl tooltip eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting
x-toolkit xinput2 x multi-tty make-network-process emacs)

Memory information:
((conses 16 259854 135375) (symbols ?0 21282 3) (strings 32 102062 4733) (s=
tring-bytes 1 5042599) (vectors 16 38577) (vector-slots 8 476859 93215)
 (floats 8
         168 498) (intervals ?8 605 151) (buffers 992 22))




Acknowledgement sent to Visuwesh <visuweshm@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#57264; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 19 Aug 2022 13:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.