seat: Make render-related state thread-safe

This commit is contained in:
Victoria Brekenfeld 2024-06-07 19:26:23 +02:00 • committed by Victoria Brekenfeld
parent bd58481d19
commit c7d50e7c5b
11 changed files with 137 additions and 112 deletions

View file

@ -172,7 +172,8 @@ impl CompositorHandler for State {
.user_data()
.get::<SeatMoveGrabState>()
.unwrap()
.borrow()
.lock()
.unwrap()
.as_ref()
.and_then(|state| {
state