At first I thought about making a PR but at the end decided to ask first because I might need some assistance with the PR and don't know if it's a right thing to add.
I would like to have more render stages so that plugins can hook to events before and after render of decorations and window contents.
I know that there are RENDER_PRE_WINDOW and RENDER_POST_WINDOW. But they are omitted before and after any window related render stuff. In some cases it would be handy to determine by plugin that "now decorations are going to be rendered", "now render of decorations ended", "now window content is going to be rendered" and "now render of window content ended".
I'm asking for this feature mainly because currently I'm stuck at #4386 . I'm able to change radii but that also affects decorations, border decorations as well which is not the intended behavior.
Description
At first I thought about making a PR but at the end decided to ask first because I might need some assistance with the PR and don't know if it's a right thing to add.
I would like to have more render stages so that plugins can hook to events before and after render of decorations and window contents.
I know that there are
RENDER_PRE_WINDOW
andRENDER_POST_WINDOW
. But they are omitted before and after any window related render stuff. In some cases it would be handy to determine by plugin that "now decorations are going to be rendered", "now render of decorations ended", "now window content is going to be rendered" and "now render of window content ended".I'm asking for this feature mainly because currently I'm stuck at #4386 . I'm able to change radii but that also affects decorations, border decorations as well which is not the intended behavior.
If needed I could create a PoC.