plugins: Add "tick" event (#2029)

This commit is contained in:
Stanisław Zagórowski 2023-04-12 12:18:33 +02:00 committed by GitHub
parent c2f29be9ba
commit ac2cd0f0dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
#include "AnimationManager.hpp" #include "AnimationManager.hpp"
#include "../Compositor.hpp" #include "../Compositor.hpp"
#include "HookSystemManager.hpp"
int wlTick(void* data) { int wlTick(void* data) {
@ -9,6 +10,8 @@ int wlTick(void* data) {
g_pAnimationManager->tick(); g_pAnimationManager->tick();
EMIT_HOOK_EVENT("tick", nullptr);
return 0; return 0;
} }