smithay/anvil
Uli Schlachter 05e5036584 Exit the worker thread when X11Source is dropped
The previous commit added a new worker thread. This thread might sit in
wait_for_event() indefinitely even after the X11Source was dropped. This
is because nothing guarantees that an X11 event will come in "soonish".
And only then would the thread notice that its main thread is gone.

This commit cleans that up by having X11Source explicitly wake up the
event thread and wait for it to exit in its Drop implementation.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2021-08-14 17:37:26 +02:00
..
resources anvil: Introduce debug feature and draw fps 2021-07-13 23:37:28 +02:00
src Exit the worker thread when X11Source is dropped 2021-08-14 17:37:26 +02:00
Cargo.toml anvil: make into a library+bin crate 2021-07-25 09:39:49 +02:00
build.rs libseat support (#292) 2021-06-15 23:35:16 +02:00