layout/tiling: Always send output_enter after swap
This commit is contained in:
parent
20ce0a283d
commit
813dd0ce1c
1 changed files with 2 additions and 6 deletions
|
|
@ -1075,9 +1075,7 @@ impl TilingLayout {
|
||||||
.into();
|
.into();
|
||||||
mapped.set_tiled(true);
|
mapped.set_tiled(true);
|
||||||
mapped.refresh();
|
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());
|
*mapped.tiling_node_id.lock().unwrap() = Some(other_desc.node.clone());
|
||||||
other_tree
|
other_tree
|
||||||
|
|
@ -1162,9 +1160,7 @@ impl TilingLayout {
|
||||||
.into();
|
.into();
|
||||||
mapped.set_tiled(true);
|
mapped.set_tiled(true);
|
||||||
mapped.refresh();
|
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());
|
*mapped.tiling_node_id.lock().unwrap() = Some(this_desc.node.clone());
|
||||||
this_tree
|
this_tree
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue