-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Don't send repeat key presses to clients #94
Conversation
New problem: fedora32 templates don't generate key repeat events, while archlinux do. |
Check if it isn't disabled via I think a cleaner solution is the initial idea: new message with flags included, instead of changing behavior of existing message. |
I enabled it via xset and it now works. I've installed the last commit "dedd3f6" in dom0 and it works fine. I think just dropping repeated key events is better. The client OS should generate its own key repeat events. At least for keyboard I don't need other flags than I think archlinux templates will generate its own set of repeat events (so double the repeat speed) even when fed with repeat events. |
Also, building this in fedora 32 now requires package |
I mean, send events including the (repeat) flag and let the gui agent decide. It can either:
Both have some pros and cons, with 2nd option respecting your globally configured repeat speed - that's why I think it is a better solution. But if going with the former, it should be at least opt-in (can be via config option), or combined with some mechanism ensuring VM actually have its own key repeat enabled (probably using qvm-feature mechanism). Otherwise it will break some existing configurations.
Add to |
New problem: when switching windows from window A to window B using "Super + Tab", the tab key press was sent to window A. This is not a logic bug, but it's annoying. For example, when switching away from Firefox, "Tab" scroll the page down. Here's what captured by
detail: 133 = Super Only client VM windows behave weirdly. This is probably XInput's input focus being different from the legacy X basic window focus events. |
This solution doesn't work well. I'll try using XInput for all input events instead. |
Attempt to fix QubesOS/qubes-issues#7231 partially.
Not tested due to GLIBC version mismatch.