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

X11: Split off the event loop into a separate module #183

Merged
merged 3 commits into from
Apr 5, 2024

Conversation

prokopyl
Copy link
Member

This PR splits off the X11 event loop logic into a separate module. It also changes the X11 implementation of the Window type to take only a shared reference to the inner type (&WindowInner instead of &mut WindowInner), bringing it in line with the other backends.

This does not change any of the logic however, it only separates some of the window state from the event loop state, to make sure they don't step on each other's toes in the future (particularly around the WindowHandler).

This is part of the effort to split up #174 into smaller pieces.

@prokopyl prokopyl requested a review from micahrj March 28, 2024 18:55
@prokopyl prokopyl force-pushed the x11-split-event-loop branch from 5cde762 to 6dd1c89 Compare March 29, 2024 23:27
@micahrj micahrj merged commit 45465c5 into RustAudio:master Apr 5, 2024
3 checks passed
@prokopyl prokopyl deleted the x11-split-event-loop branch April 6, 2024 15:45
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.

2 participants