Merge pull request #2683 from hojjatabdollahi/hojjat/fix-chrome

fix(shell): take presentation feedback from fullscreen surfaces
This commit is contained in:
Victoria Brekenfeld 2026-08-14 15:36:28 +02:00 • committed by GitHub
commit 3b8bac8335
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5024,6 +5024,20 @@ impl Shell {
let mut output_presentation_feedback = OutputPresentationFeedback::new(output);
if let Some(active) = self.active_space(output) {
for fs in active.get_fullscreen_surfaces() {
fs.surface.take_presentation_feedback(
&mut output_presentation_feedback,
surface_primary_scanout_output,
|surface, _| {
surface_presentation_feedback_flags_from_states(
surface,
None,
render_element_states,
)
},
);
}
active.mapped().for_each(|mapped| {
mapped.active_window().take_presentation_feedback(
&mut output_presentation_feedback,