From d0c1438724fd305dbdf87f3cc17c195e7ee7f5b7 Mon Sep 17 00:00:00 2001 From: Peter Fajdiga Date: Fri, 20 Sep 2024 12:02:38 +0200 Subject: [PATCH] Desktop: use `rectEquals` --- src/lib/layout/Desktop.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/layout/Desktop.ts b/src/lib/layout/Desktop.ts index a7aa031..c033a12 100644 --- a/src/lib/layout/Desktop.ts +++ b/src/lib/layout/Desktop.ts @@ -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;