Support Xcursor in Xlib

  • Done
  • quality assurance status badge
Details
3 participants
  • Danny Milosavljevic
  • Ivan Kozlov
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Ivan Kozlov
Severity
normal
I
I
Ivan Kozlov wrote on 13 Jul 2020 19:43
(address . bug-guix@gnu.org)
254361594661458@mail.yandex.ru
libX11 contains support for runtime loading of libXcursor. Without this support, programs that use Xlib’s mouse cursor routines, such as XTerm, do not follow the mouse cursor theme as determined by the Xcursor.theme resource and XCURSOR_THEME environment variable. This is in fact very noticeable and annoying.

How to reproduce:
1. Start XTerm.
2. Notice that the mouse cursor looks totally different from everything else. XTerm uses several mouse cursors: one for the text area, one for scrollbar, one for the menus, and they all stand out like a sore thumb.
3. Put libxcursor into LD_LIBRARY_PATH and start XTerm again.
4. Notice that the Xcursor theme is honoured.

This probably cannot be resolved by referencing libXcursor in libX11 because that would introduce a circular dependency.

The best solution I can think of is merging the libxcursor package into libx11. It is essentially a plugin.
M
M
Mathieu Othacehe wrote on 10 Aug 2020 11:27
(name . Ivan Kozlov)(address . kanichos@yandex.ru)(address . 42346@debbugs.gnu.org)
87h7tahmur.fsf@gnu.org
Hello Ivan,

Toggle quote (8 lines)
> How to reproduce:
> 1. Start XTerm.
> 2. Notice that the mouse cursor looks totally different from everything
> else. XTerm uses several mouse cursors: one for the text area, one for
> scrollbar, one for the menus, and they all stand out like a sore thumb.
> 3. Put libxcursor into LD_LIBRARY_PATH and start XTerm again.
> 4. Notice that the Xcursor theme is honoured.

This should be fixed by fb21bc23233374354abf3ad3bc830fb02ccbbc83. Could
you please confirm that it works?

Thanks,

Mathieu
D
D
Danny Milosavljevic wrote on 3 Apr 2022 13:49
(name . Mathieu Othacehe)(address . othacehe@gnu.org)
20220403134947.4c8eb43b@scratchpost.org
Hi,

On Mon, 10 Aug 2020 11:27:40 +0200
Mathieu Othacehe <othacehe@gnu.org> wrote:

Toggle quote (13 lines)
> Hello Ivan,
>
> > How to reproduce:
> > 1. Start XTerm.
> > 2. Notice that the mouse cursor looks totally different from everything
> > else. XTerm uses several mouse cursors: one for the text area, one for
> > scrollbar, one for the menus, and they all stand out like a sore thumb.
> > 3. Put libxcursor into LD_LIBRARY_PATH and start XTerm again.
> > 4. Notice that the Xcursor theme is honoured.
>
> This should be fixed by fb21bc23233374354abf3ad3bc830fb02ccbbc83. Could
> you please confirm that it works?

Nope, it wasn't.

But I fixed the fix in bug# 54680. Thanks!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmJJidsACgkQ5xo1VCww
uqXhaQgAmr0QxLrTuLEcTXR/xRvfvs847kKoNPpQGYY+k+t0jfj4VAi0oXKDIawN
1em4oejOGqkcua4bsCTFfjvihtc9zW7rYb0JtYAucyNPaVhutoNAapG2qgOY1Ezn
LMwpCIWe38zpFIK1oxDq/vBBwEI9wdHAT7zXP4laEibD4/17/erXgQSNM9K39sjr
9P/+UxBJJ90Knr/dkbCGvYeQGRJ5WHOvYEi9U4RotJiW7THtXemWqdTC+kUzb8Ss
HrRPQpnBxz6dTg7sYOKPX760CNm4o4a122X3eL/Z+szD4xN2oEPb7Eh9A/wAkE5A
6lJc1MzI5nGbCjyK+FH/Nc0GGKKsdw==
=Ctzw
-----END PGP SIGNATURE-----


Closed
?