libXcursor: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 5 23:33:11 UTC 2021


 src/library.c |   21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

New commits:
commit 6edf1caf6fe6826b3727ab19ba9e4d7ad163a48e
Author: Tobias Stoeckmann <tobias at stoeckmann.org>
Date:   Tue May 4 18:30:53 2021 +0200

    fix XcursorTheme loop regression
    
    Handle themes with multiple inherit entries. Although the previous
    commit keeped track of inherited themes, it only handled multiple theme
    entries on the highest level.
    
    This fix unconditionally checks if the next upper level contains a line.
    If it does, it processes contained themes (i.e. the current theme had an
    inherited entry in its index file).
    
    If the upper level has no more themes, it goes down a level and
    processes the next theme there. If no next theme exists, it moves down
    another level and so on until it reaches level 0, i.e. the initially
    supplied theme.
    
    The lowest level (d = 0) is treated specially because we must not modify
    the supplied theme, which could happen when calling _XcursorNextPath.
    
    Signed-off-by: Tobias Stoeckmann <tobias at stoeckmann.org>



More information about the xorg-commit mailing list