element: Allow overriding default scanout behaviour
This commit is contained in:
parent
be1424f1ca
commit
c3d2b5f0b7
8 changed files with 52 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue