Refactor window ownership and immutable frame sampling

This commit is contained in:
Samuel Onoja committed 2026-10-01 18:03:01 +01:00
1 parent c0010ccbb6
commit 07bda5a21c
31 files changed
+1222 -623

No files matched your search

+3 -2
View File
@@ -48,7 +48,7 @@ impl Ferese {
};
self.workspace_slides.remove(&output_id);
self.overview_scrims.remove(&output_id);
self.render.remove_output(output_id);
self.pending_screencopies.retain(|capture| {
if capture.output == *output {
capture.fail();
@@ -82,7 +82,8 @@ impl Ferese {
pub(crate) fn reposition_output_floats(&mut self, output: OutputId, old: Rect, new: Rect) {
let floats = self
.window_ids
.windows
.ids()
.values()
.filter_map(|id| {
let workspace = self.workspaces.workspace_for_window(*id)?;