deps: Update for smithay

This commit is contained in:
Victoria Brekenfeld 2022-05-16 18:10:12 +02:00
parent 219e21d573
commit 7de8d6e979
4 changed files with 19 additions and 19 deletions

View file

@ -785,7 +785,7 @@ impl State {
pub fn handle_window_movement(surface: Option<&WlSurface>, space: &mut Space) {
// TODO: this is why to hardcoded and hacky, but wayland-rs 0.30 will make this unnecessary anyway.
if let Some(surface) = surface {
if let Some(window) = space.window_for_surface(&surface).cloned() {
if let Some(window) = space.window_for_surface(&surface, WindowSurfaceType::TOPLEVEL).cloned() {
if let Some(new_position) =
crate::shell::layout::floating::MoveSurfaceGrab::apply_move_state(&window)
{