Desktop: use rectEquals

This commit is contained in:
Peter Fajdiga
2024-09-20 12:02:38 +02:00
parent d926be2e12
commit d0c1438724

View File

@@ -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;