mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-24 02:01:18 +07:00
Remove unnecessary window clone
This commit is contained in:
@@ -111,7 +111,7 @@ impl<W: LayoutElement> Monitor<W> {
|
|||||||
) {
|
) {
|
||||||
let workspace = &mut self.workspaces[workspace_idx];
|
let workspace = &mut self.workspaces[workspace_idx];
|
||||||
|
|
||||||
workspace.add_window(window.clone(), activate, width, is_full_width);
|
workspace.add_window(window, activate, width, is_full_width);
|
||||||
|
|
||||||
// After adding a new window, workspace becomes this output's own.
|
// After adding a new window, workspace becomes this output's own.
|
||||||
workspace.original_output = OutputId::new(&self.output);
|
workspace.original_output = OutputId::new(&self.output);
|
||||||
|
|||||||
Reference in New Issue
Block a user