Commit 0e846e1
authored
fix(wayland): bypass key events when input not activated (#745)
* fix(wayland): bypass key events when input not activated
When grab_activate is false, key press events were not being forwarded
to the compositor, causing shortcuts and input to stop working in apps
like Firefox, rofi, hyprlock, wlogout on wlroots-based compositors
(Niri, Hyprland).
Fixes key handling to match previous behavior:
- V2: forward all keys via vk.key() when not activated
- V1: forward all keys via key_v1() when not activated
* add CHANGELOG
* Update CHANGELOG
* fix logic more simple1 parent 0179318 commit 0e846e1
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
| 687 | + | |
| 688 | + | |
688 | 689 | | |
689 | 690 | | |
690 | 691 | | |
| |||
901 | 902 | | |
902 | 903 | | |
903 | 904 | | |
904 | | - | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
905 | 908 | | |
| 909 | + | |
906 | 910 | | |
907 | 911 | | |
908 | 912 | | |
| |||
0 commit comments