Desktop: use rectEquals
This commit is contained in:
@@ -25,7 +25,7 @@ class Desktop {
|
||||
|
||||
private updateArea() {
|
||||
const newClientArea = Desktop.getClientArea(this.getScreen(), this.kwinDesktop);
|
||||
if (newClientArea === this.clientArea && !this.dirtyPins) {
|
||||
if (rectEquals(newClientArea, this.clientArea) && !this.dirtyPins) {
|
||||
return;
|
||||
}
|
||||
this.clientArea = newClientArea;
|
||||
|
||||
Reference in New Issue
Block a user