deps: update for new smithay version

This commit is contained in:
Victoria Brekenfeld 2022-03-16 20:05:24 +01:00
parent 1ab0196502
commit 25b44fde58
11 changed files with 230 additions and 237 deletions

View file

@ -458,8 +458,7 @@ impl Common {
.map(|(s, _)| s);
}
} else if let Some(window) = space.window_under(pos).cloned() {
let window_loc =
space.window_geometry(&window).unwrap().loc;
let window_loc = space.window_location(&window).unwrap();
under = window
.surface_under(
pos - window_loc.to_f64(),
@ -614,7 +613,7 @@ impl Common {
)
.map(|(s, loc)| (s, loc + layer_loc))
} else if let Some(window) = space.window_under(pos) {
let window_loc = space.window_geometry(window).unwrap().loc;
let window_loc = space.window_location(window).unwrap();
window
.surface_under(pos - window_loc.to_f64(), WindowSurfaceType::ALL)
.map(|(s, loc)| (s, loc + window_loc))