Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate HASCONFIG into CConfigManager::getConfigValueSafeDevice #3195

Conversation

pdamianik
Copy link
Contributor

Describe your PR, what does it fix/add?

With the new fallback argument for CConfigManager::getConfigValueSafeDevice, the HASCONFIG constant has become unnecessary in most cases. This PR adds the ability to fall back when there is no config for a device to CConfigManager::getConfigValueSafeDevice and removes most uses of HASCONFIG.

Is it ready for merging, or does it need work?

All ready.

@pdamianik pdamianik marked this pull request as draft September 6, 2023 15:16
@pdamianik pdamianik force-pushed the integrate-hasconfig-into-getconfigvaluesafedevice branch from 3aa1f25 to e7d27ed Compare September 6, 2023 15:18
@pdamianik pdamianik marked this pull request as ready for review September 6, 2023 15:22
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nits

src/config/ConfigManager.cpp Show resolved Hide resolved
src/config/ConfigManager.cpp Outdated Show resolved Hide resolved
@pdamianik pdamianik force-pushed the integrate-hasconfig-into-getconfigvaluesafedevice branch from e7d27ed to 939949e Compare September 6, 2023 16:27
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yummy

@vaxerski vaxerski merged commit 60c01da into hyprwm:main Sep 6, 2023
8 checks passed
@pdamianik pdamianik deleted the integrate-hasconfig-into-getconfigvaluesafedevice branch September 6, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants