add render hook event

This commit is contained in:
vaxerski 2023-04-17 23:51:19 +01:00
parent 0d2dee3a11
commit acf237261a
1 changed files with 1 additions and 0 deletions

View File

@ -30,3 +30,4 @@ These are all the events that can be listened to using Event Hooks.
| activeLayout | fired on a keyboard layout change. String pointer temporary, not guaranteed after execution of the handler finishes. | std::vector<void*>{SKeyboard*, std::string*} |
| preRender | fired before a frame for a monitor is about to be rendered | CMonitor* |
| screencopy | fired when the screencopy state of a client changes. Keep in mind there might be multiple separate clients. | std::vector<uint64_t>{state, framesInHalfSecond, owner} |
| render | fired at various stages of rendering to allow your plugin to render stuff. See `src/SharedDefs.hpp` for a list with explanations | eRenderStage |