diff --git a/src/servers/app/Decorator.cpp b/src/servers/app/Decorator.cpp index fd5000d415..92dbd6045f 100644 --- a/src/servers/app/Decorator.cpp +++ b/src/servers/app/Decorator.cpp @@ -440,6 +440,8 @@ Decorator::SetRegionHighlight(Region region, uint8 highlight, BRegion* dirty) if (index < 0 || index >= REGION_COUNT - 1) return false; + if (fRegionHighlights[index] == highlight) + return true; fRegionHighlights[index] = highlight; if (dirty != NULL)