chore: Update smithay for thread-safety
This commit is contained in:
parent
0f6622d8ee
commit
e78e199663
19 changed files with 54 additions and 94 deletions
|
|
@ -413,7 +413,11 @@ impl XdgShellHandler for State {
|
|||
) {
|
||||
let seat = Seat::from_resource(&seat).unwrap();
|
||||
location -= with_states(surface.wl_surface(), |states| {
|
||||
states.cached_state.current::<SurfaceCachedState>().geometry
|
||||
states
|
||||
.cached_state
|
||||
.get::<SurfaceCachedState>()
|
||||
.current()
|
||||
.geometry
|
||||
})
|
||||
.unwrap_or_default()
|
||||
.loc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue