mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-13 19:15:45 -07:00
plugins: Add "tick" event (#2029)
This commit is contained in:
committed by
GitHub
parent
c2f29be9ba
commit
ac2cd0f0dc
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user