Skip to content
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
wants to merge 59 commits into
base: main
Choose a base branch
from
Draft

Wayland fixes #368

wants to merge 59 commits into from

Conversation

pentamassiv
Copy link
Collaborator

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.

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
@pentamassiv pentamassiv marked this pull request as draft December 6, 2024 04:05
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.

1 participant