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

fix/upower: upower module selection with multiple devices #3554

Merged

Commits on Aug 31, 2024

  1. fix: upower module selection with multiple devices

    While looping over all the upower devices, the currently set device that will be rendered in the waybar, is overridden. Since the loop doesn't end when the device is found, the upDevice_ is overridden with NULL in the iteration for the next device.
    
    Now we only override upDevice_ if the current device matches the constraints.
    
    Fixes d2a719d ("Redo to minimize code duplication.")
    Fixes Alexays#3267
    3u13r committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    9b5c2dc View commit details
    Browse the repository at this point in the history