[PATCH v3 1/1] Add support for a layered window region. (v3)