Skip to content

fix(hyprland/language): ensuring exact match of the device name - #5278

Open
JeremieRodon wants to merge 1 commit into
Alexays:masterfrom
JeremieRodon:fix/hyprland-language-init
Open

fix(hyprland/language): ensuring exact match of the device name#5278
JeremieRodon wants to merge 1 commit into
Alexays:masterfrom
JeremieRodon:fix/hyprland-language-init

Conversation

@JeremieRodon

@JeremieRodon JeremieRodon commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?
When Language::initLanguage() search for the configured keyboard-name, adds a \t before and a \n after to ensure it does not match other devices that are super-strings.

I created an issue detailing the problem with my configuration as an example.

Related issues
Closes #5277

Checklist

  • Code is formatted with clang-format
  • Builds locally (ninja -C build)
  • Tested against the affected module(s)

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.

[hyprland/language] Wrong langage is picked during init

1 participant