cursor: Try to fall back to a default xcursor theme first
authorOlivier Tilloy <olivier.tilloy@canonical.com>
Wed, 5 May 2021 15:15:33 +0000 (17:15 +0200)
committerOlivier Tilloy <olivier.tilloy@canonical.com>
Thu, 5 Aug 2021 15:09:40 +0000 (17:09 +0200)
commitf80879c03c194109190f48eb49a5ed649ce5da97
treea9a4c0006c890de85a8aa8f6150105aff919cc44
parentc4453ce1a517c3b6fa2a1fb6cce8b3398e88e9ec
cursor: Try to fall back to a default xcursor theme first

The use case is systems where for some reason the current xcursor theme
cannot be accessed (an application packaged as a strictly confined snap,
for example).

Before falling back to wayland's default cursor theme, it is worth
trying the xcursor theme called "default", which hopefully looks better
than the former.

Fixes: https://gitlab.gnome.org/Community/Ubuntu/gnome-sdk/-/issues/6

Signed-off-by: Olivier Tilloy <olivier.tilloy@canonical.com>
cursor/wayland-cursor.c