CirculateRequest and CirculateNotify
The X11 events behind window circulation: raise the lowest obscured window, or send the topmost one to the bottom.
XCirculateSubwindows takes a direction. RaiseLowest raises the lowest mapped child that something is covering; LowerHighest lowers the highest child that is covering something. Repeat it and the pile rotates. If a window manager holds SubstructureRedirect on the parent, nothing happens yet: the manager gets a CirculateRequest saying PlaceOnTop or PlaceOnBottom and decides for itself. Once the restack actually takes place, CirculateNotify goes out to anyone selecting StructureNotify or SubstructureNotify.
It was an early idea of window switching, dating from when a screen full of overlapping xterms was the norm, and twm exposed it as f.circleup and f.circledown. In practice the request is rare. Programs that want to restack themselves send a ConfigureRequest with a stack mode, and modern window managers do Alt+Tab from their own lists, so CirculateRequest is often handled sloppily or not at all.