render: Use NamespaceElements to fix blurred lower layer-shell surfaces
This commit is contained in:
parent
a9bf89d8b2
commit
eb41b076ed
6 changed files with 134 additions and 45 deletions
|
|
@ -5038,13 +5038,14 @@ impl Shell {
|
|||
|
||||
let map = smithay::desktop::layer_map_for_output(output);
|
||||
for layer_surface in map.layers() {
|
||||
let namespace = self.workspaces.active_num(output).1;
|
||||
layer_surface.take_presentation_feedback(
|
||||
&mut output_presentation_feedback,
|
||||
surface_primary_scanout_output,
|
||||
|surface, _| {
|
||||
surface_presentation_feedback_flags_from_states(
|
||||
surface,
|
||||
None,
|
||||
Some(namespace),
|
||||
render_element_states,
|
||||
)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue