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

linux: wayland: Fix order of wayland messages #387

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

pentamassiv
Copy link
Collaborator

Bind to the globals in the correct order and make sure Wayland objects are created before they are used. Sending messages to objects before they were created caused labwc to crash.

Instead of doing a roundtrip each time when we send a message to the server, the queue gets flushed to improve the performance,

@pentamassiv pentamassiv mentioned this pull request Jan 29, 2025
Bind to the globals in the correct order and make sure Wayland objects are created before they are used. Instead of doing a roundtrip each time when we send a message to the server, the queue gets flushed to improve the performance
@pentamassiv pentamassiv merged commit e9a474c into enigo-rs:main Jan 29, 2025
24 checks passed
@pentamassiv pentamassiv deleted the wayland_bind_globals branch January 29, 2025 02:37
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