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 53 commits into
base: main
Choose a base branch
from
Draft

Wayland fixes #368

wants to merge 53 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.

…dtrip after intializing the protocols to ensure the compositor has enough time to send the activate and Done events to the client
@pentamassiv
Copy link
Collaborator Author

I upstreamed a number of the fixes that came from this draft. See #385, #386

@pentamassiv
Copy link
Collaborator Author

I think all fixes contained in this MR were upstreamed if #387 is merged. The other commits in this draft were only needed to find the errors and debug output. There is still a bug though and labwc crashes when entering simulating using key. It seems to work with the raw function though.

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