Patent attributes
An electronic device may have a display with an array of pixels for displaying images. The display may have a window region. During operation, a component such as an optical component may operate through the window region. The window region may overlap a movable portion of the display. The window region may be operated in open and closed states. In the closed state, the movable portion of the display overlaps the window region and pixels in the movable display portion emit light through the window region. In the open state, the movable portion of the display is moved away from the window region so that light for the optical component may pass through the window region. The optical component may be a camera or other component that receives light through the window region or may be an optical component that emits light through the window region.