From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#57264: 29.0.50; Wrong xcursor colour when over an Emacs frame Date: Fri, 19 Aug 2022 19:04:15 +0530 Message-ID: <87v8qocq7c.fsf@gmail.com> References: <87mtc2g1gs.fsf@gmail.com> <87zgg2nucd.fsf@yahoo.com> <8735dtahj2.fsf@gmail.com> <87ilmpogxi.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16350"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57264@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 19 15:38:39 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oP2Cs-00041N-K9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 15:38:38 +0200 Original-Received: from localhost ([::1]:49490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP2Cr-00074Z-Fn for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 09:38:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP29O-0004VY-Q6 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 09:35:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP29O-0002ss-7t for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 09:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP29O-0002L6-3x for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 09:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Aug 2022 13:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57264 X-GNU-PR-Package: emacs Original-Received: via spool by 57264-submit@debbugs.gnu.org id=B57264.16609160718939 (code B ref 57264); Fri, 19 Aug 2022 13:35:02 +0000 Original-Received: (at 57264) by debbugs.gnu.org; 19 Aug 2022 13:34:31 +0000 Original-Received: from localhost ([127.0.0.1]:57595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP28t-0002K6-2L for submit@debbugs.gnu.org; Fri, 19 Aug 2022 09:34:31 -0400 Original-Received: from mail-pj1-f68.google.com ([209.85.216.68]:42694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP28r-0002Jv-Tv for 57264@debbugs.gnu.org; Fri, 19 Aug 2022 09:34:30 -0400 Original-Received: by mail-pj1-f68.google.com with SMTP id s3-20020a17090a2f0300b001facfc6fdbcso4223392pjd.1 for <57264@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) Original-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) In-Reply-To: <87ilmpogxi.fsf@yahoo.com> (Po Lu's message of "Thu, 18 Aug 2022 20:49:13 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240207 Archived-At: [=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 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 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.