layout/tiling: Skip unnecessary stack window swap
This commit is contained in:
parent
8c0136cec0
commit
23e1bae96e
1 changed files with 2 additions and 1 deletions
|
|
@ -847,7 +847,8 @@ impl TilingLayout {
|
||||||
if this.output == other_output
|
if this.output == other_output
|
||||||
&& this_desc.handle == other_desc.handle
|
&& this_desc.handle == other_desc.handle
|
||||||
&& this_desc.node == other_desc.node
|
&& this_desc.node == other_desc.node
|
||||||
&& this_desc.stack_window.is_some() != other_desc.stack_window.is_some()
|
&& (this_desc.stack_window == other_desc.stack_window
|
||||||
|
|| this_desc.stack_window.is_some() != other_desc.stack_window.is_some())
|
||||||
{
|
{
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue