Type

Normal

Function Signature

(hook-fn top-frame)

Description

Gets triggered when any of a monitor's settings are changed. top-frame is the top-level frame representing the monitor. The actual monitor settings are stored in top-frame's :monitor property.

The monitor settings include :device, :dpi, :flags (whether it's the primary monitor or not), :rect, and :work-area.