-
Notifications
You must be signed in to change notification settings - Fork 115
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
Wayland fixes #368
Draft
pentamassiv
wants to merge
59
commits into
enigo-rs:main
Choose a base branch
from
pentamassiv:wayland_fixes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Wayland fixes #368
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test relative and absolute mouse moves in the CI. Run more unit tests concerning mouse movement as well
…eived The serial needs to increase each time a Done event is received. We do a roundtrip before sending the commit event to make sure we handled all Done events the compositor sent
…dtrip after intializing the protocols to ensure the compositor has enough time to send the activate and Done events to the client
…reate the objects
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A number of fixes were needed for labwc. This still does not work and the commits need to get cleaned up. I think the keycode that gets sent with .key() is wrong. It's probably also wrong for the modifiers or the keymap does not have the needed modifiers. I hope that's the last issue.
So far I fixed the serial number when using the input_method protocol, the order in which the wayland objects get created, waiting for them to all exist before using them, the keymap now has the correct size. There are probably more fixes. I need to look at the commits again.
Another improvement would be to use the KeyMap that the compositor sends when first creating the virtual_keyboard object. That would make a lot of the mappings unneccessary. We should also use xkbcommon instead of creating the keymap manually.