Skip to content

Fix loading xcursor themes with invalid Inherits field

Vlad Zahorodnii requested to merge work/zzag/xcursor-theme-malformed-themes into master

Xcursor loading can get stuck in an infinite recursion if index.theme file indicates that the theme inherits itself.

In order to prevent that, keep track of the loaded so far themes and avoid loading already loaded themes.

BUG: 457926

Alternative to !2841 (closed)

Edited by Vlad Zahorodnii

Merge request reports