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