benilla-re systems structs docs

s_layoutQueueLinkOffset

global · ui

Address
0xcf0bec · 4 bytes, up to 0xcf0bef
Type
uint32_t
Meaning
Holds 0x6c, the offset of the layout queue link in a layout frame
Confidence
verified, proof two
Finding
ui/anchors#invalidation-and-the-layout-queue

Finding: Invalidation and the layout queue in ui: anchors and layout

Laying a frame out (0x7680e0) with the force flag resolves at once unless flag 8 is set; success removes it from the queue. Otherwise, if it is already pending (flag 4) and deferred (flag 2) or queued, the retry count +0x38 is reset to 6. Else it sets flag 4 and either, when deferred, lays out each dependent, or joins the queue: just before the first queued frame with a point relative to it, else at the head, with the retry count 6. A frame already queued is not moved.

The derivation is in the doc.