state: Always send throttled frame callbacks for minimized windows

This commit is contained in:
Victoria Brekenfeld 2024-02-27 13:04:45 +01:00 • committed by Victoria Brekenfeld
parent 7776d057da
commit ddea391129

View file

@ -705,6 +705,10 @@ impl Common {
); );
} }
}); });
active.minimized_windows.iter().for_each(|m| {
let window = m.window.active_window();
window.send_frame(output, time, throttle, |_, _| None);
});
for space in self for space in self
.shell .shell
@ -716,6 +720,10 @@ impl Common {
let window = mapped.active_window(); let window = mapped.active_window();
window.send_frame(output, time, throttle, |_, _| None); window.send_frame(output, time, throttle, |_, _| None);
}); });
space.minimized_windows.iter().for_each(|m| {
let window = m.window.active_window();
window.send_frame(output, time, throttle, |_, _| None);
})
} }
self.shell.override_redirect_windows.iter().for_each(|or| { self.shell.override_redirect_windows.iter().for_each(|or| {