element: Allow overriding default scanout behaviour

This commit is contained in:
Victoria Brekenfeld 2025-07-22 16:39:33 +02:00 committed by Victoria Brekenfeld
parent be1424f1ca
commit c3d2b5f0b7
8 changed files with 52 additions and 9 deletions

View file

@ -1468,6 +1468,7 @@ impl FloatingLayout {
.to_physical_precise_round(output_scale),
output_scale.into(),
alpha,
None,
);
if let Some(anim) = self.animations.get(elem) {

View file

@ -4983,6 +4983,7 @@ where
geo.loc.as_logical().to_physical_precise_round(output_scale) - elem_geometry.loc,
Scale::from(output_scale),
alpha,
None,
);
elements.extend(window_elements.into_iter().flat_map(|element| {
@ -5470,6 +5471,7 @@ where
- elem_geometry.loc,
Scale::from(output_scale),
alpha,
None,
);
if swap_desc