mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-27 00:45:58 +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 "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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue