mutter should set XCURSOR_THEME and XCURSOR_SIZE
Affected version
Ubuntu 18.04 (mutter 3.28.4), Arch Linux (mutter 3.36.1)
Bug summary
In a mutter wayland session, the environment variables XCURSOR_THEME and XCURSOR_SIZE are not set. This makes it hard for wayland clients to guess the correct cursor theme and size to make its client cursor consistent with the rest of the desktop.
Steps to reproduce
mutter --wayland
echo $XCURSOR_SIZE
What happened
Nothing.
What did you expect to happen
The same value as returned by gsettings get org.gnome.desktop.interface cursor-size
.