mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[GH-ISSUE #395] Keyboard layout resets to default on every modifier key press when using multiple XKB layouts #263
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#263
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Afmer on GitHub (Apr 20, 2026).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/395
When configuring multiple keyboard layouts in Sway (e.g.
xkb_layout "ru,us"), pressing any modifier key (Ctrl, Shift, Alt, Super) resets the active layout back to the first one in the list, making it impossible to maintain a non-default layout while streaming.Steps to reproduce:
swaymsg input type:keyboard xkb_switch_layout nextru)Root cause:
Using
wevto inspect Wayland events, every modifier key press sendsgroup: 0in thewl_keyboard.modifiersevent, which resets the XKB layout group to the first layout:The
groupfield is always0regardless of the currently active layout. Wolf/inputtino should preserve the current XKB group when forwarding modifier events instead of always sendinggroup: 0.Expected behavior:
groupinwl_keyboard.modifiersshould reflect the currently active layout group, not always be0.Environment:
stable(org.opencontainers.image.version: stable, GStreamer 1.26.7, Gamescope 3.15.14)ghcr.io/games-on-whales/prismlauncher:edge