mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 05:29:48 +01:00
plugins: Add "tick" event (#2029)
This commit is contained in:
parent
c2f29be9ba
commit
ac2cd0f0dc
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "AnimationManager.hpp"
|
||||
#include "../Compositor.hpp"
|
||||
#include "HookSystemManager.hpp"
|
||||
|
||||
int wlTick(void* data) {
|
||||
|
||||
|
@ -9,6 +10,8 @@ int wlTick(void* data) {
|
|||
|
||||
g_pAnimationManager->tick();
|
||||
|
||||
EMIT_HOOK_EVENT("tick", nullptr);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue