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

panel: Use the wlroots backend with unknown Wayland compositors #2161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 3, 2024

  1. panel: Use the wlroots backend with unknown Wayland compositors

    The description of the LXQtPanelApplicationPrivate::loadBackend()
    method already states that if we cannot identify the correct backend
    for a Wayland session, we should fall back to the wlroots backend
    module. This is reasonable given how broadly the wlr protocols are
    implemented. However, this was not happening due to a small error
    where we checked for the wlroots string in XDG_CURRENT_DESKTOP, which
    is not a valid option.
    
    This change fixes this by checking XDG_SESSION_TYPE for "wayland"
    instead. As this is fallback logic, this is safe as the preferred
    backend logic using XDG_CURRENT_DESKTOP still wins over this.
    Conan-Kudo committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    eeb3ed7 View commit details
    Browse the repository at this point in the history