layout/tiling: Always send output_enter after swap

This commit is contained in:
Victoria Brekenfeld 2025-12-09 18:16:04 +01:00 committed by Jeremy Soller
parent 20ce0a283d
commit 813dd0ce1c

View file

@ -1075,9 +1075,7 @@ impl TilingLayout {
.into();
mapped.set_tiled(true);
mapped.refresh();
if this.output != other_output {
mapped.output_enter(&other_output, mapped.bbox());
}
mapped.output_enter(&other_output, mapped.bbox());
*mapped.tiling_node_id.lock().unwrap() = Some(other_desc.node.clone());
other_tree
@ -1162,9 +1160,7 @@ impl TilingLayout {
.into();
mapped.set_tiled(true);
mapped.refresh();
if this.output != other_output {
mapped.output_enter(&this.output, mapped.bbox());
}
mapped.output_enter(&this.output, mapped.bbox());
*mapped.tiling_node_id.lock().unwrap() = Some(this_desc.node.clone());
this_tree