floating/resize: Fix jumping on multi-monitor setups

This commit is contained in:
Victoria Brekenfeld 2024-02-29 15:31:04 +01:00
parent e83796680f
commit 21483b8d41

View file

@ -371,9 +371,11 @@ impl ResizeSurfaceGrab {
}
}
}
floating_layer
.space
.map_element(window, new_location.as_logical(), false);
floating_layer.space.map_element(
window,
new_location.to_local(&output).as_logical(),
false,
);
}
}
}