Skip to content

FvwmPager: Always use ULONG_MAX for undefined color.#1298

Merged
ThomasAdam merged 1 commit intomainfrom
js/gh-1297
Feb 22, 2026
Merged

FvwmPager: Always use ULONG_MAX for undefined color.#1298
ThomasAdam merged 1 commit intomainfrom
js/gh-1297

Conversation

@somiaj
Copy link
Copy Markdown
Collaborator

@somiaj somiaj commented Feb 21, 2026

Since the color "black" is equal to "0", a false value, conditionals fail to use any user setting of "black" for different colors. This was fixed for the foreground color previously, but the problem still exists for background and balloon colors.

This consistently uses ULONG_MAX to represent an undefined value for the default of different configurable colors in FvwmPager, so any user setting of black will correctly be used.

Fixes #1297.

Since the color "black" is equal to "0", a false value, conditionals
fail to use any user setting of "black" for different colors. This
was fixed for the foreground color previously, but the problem
still exists for background and balloon colors.

This consistently uses `ULONG_MAX` to represent an undefined value
for the default of different configurable colors in FvwmPager,
so any user setting of `black` will correctly be used.

Fixes #1297.
@ThomasAdam ThomasAdam self-assigned this Feb 22, 2026
@ThomasAdam ThomasAdam added type:bug Something's broken! relates:module Issue is in module code labels Feb 22, 2026
@ThomasAdam ThomasAdam added this to FVWM3 Feb 22, 2026
@github-project-automation github-project-automation bot moved this to PRs in FVWM3 Feb 22, 2026
@ThomasAdam ThomasAdam added this to the 1.1.5 milestone Feb 22, 2026
@ThomasAdam ThomasAdam merged commit a8a1e56 into main Feb 22, 2026
8 checks passed
@ThomasAdam ThomasAdam deleted the js/gh-1297 branch February 22, 2026 00:03
@github-project-automation github-project-automation bot moved this from PRs to Done in FVWM3 Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relates:module Issue is in module code type:bug Something's broken!

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

FvwmPager: "BalloonFore" color specification seems to mishandle "black" or RGB equivalent

2 participants