summaryrefslogtreecommitdiff
path: root/man/XcursorImagesCreate.man
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2021-05-04 18:30:53 +0200
committerTobias Stoeckmann <tobias@stoeckmann.org>2021-05-04 18:59:46 +0200
commit6edf1caf6fe6826b3727ab19ba9e4d7ad163a48e (patch)
tree864822758a685b588a68378232c4e591adcb17f5 /man/XcursorImagesCreate.man
parentb47ca9858ee11bdbd08f1e31102116ff51cb6be5 (diff)
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@stoeckmann.org>
Diffstat (limited to 'man/XcursorImagesCreate.man')
0 files changed, 0 insertions, 0 deletions