-
Notifications
You must be signed in to change notification settings - Fork 127
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
Make wayland_server::create_event_loop public #167
Conversation
It is useful for compositors
Most of the safety of the So, if I understand correctly you are working on libweston bindings. I don't know how much control over the event loop libweston requires, but I guess it's not liberal enough that you can just create the display with the wayland-server crate and provide it to it? |
hm, I'm actually creating the display myself. I'm not sure why I have my own |
Oh. Actually. I still need this. I have the Rust side implementing an API that Weston calls into. But maybe for |
If you need it only for Overall, this reworks does break a lot of things, but should make many things easier to integrate and handle I believe. Maybe if you summarize the precise uses you need |
No. I just need to call I just realized though, I can actually use |
Done. I guess I was also slightly confused by the lack of a |
It is useful for compositors:
https://github.com/myfreeweb/weston-rs/blob/8222ffab43a41a54ef107454558ca495cbe4d009/weston-rs/src/display.rs#L32-L34