<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/displaysWhenScreenProfileChanges",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindow(py)displaysWhenScreenProfileChanges"
  },
  "title" : "displaysWhenScreenProfileChanges"
}
-->

# displaysWhenScreenProfileChanges

A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen.

```
var displaysWhenScreenProfileChanges: Bool { get set }
```

## Discussion

The value of this property is <doc://com.apple.documentation/documentation/Swift/true> when the window context should be updated when the ColorSync profile of the current screen changes or when a majority of the window is moved to a different screen whose profile is different than the previous screen; otherwise, <doc://com.apple.documentation/documentation/Swift/false>. The default value is <doc://com.apple.documentation/documentation/Swift/false>.

After the window context is updated, the window is told to display itself. If you need to update offscreen caches for the window, you should register to receive the [`didChangeScreenProfileNotification`](/documentation/AppKit/NSWindow/didChangeScreenProfileNotification) notification.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)