mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-21 18:25:58 +01:00
all: chase hyprland
This commit is contained in:
parent
d716d12213
commit
dcbdc9a08d
3 changed files with 36 additions and 36 deletions
|
@ -58,8 +58,8 @@ class CHyprBar : public IHyprWindowDecoration {
|
|||
void onMouseMove(Vector2D coords);
|
||||
CBox assignedBoxGlobal();
|
||||
|
||||
std::shared_ptr<HOOK_CALLBACK_FN> m_pMouseButtonCallback;
|
||||
std::shared_ptr<HOOK_CALLBACK_FN> m_pMouseMoveCallback;
|
||||
SP<HOOK_CALLBACK_FN> m_pMouseButtonCallback;
|
||||
SP<HOOK_CALLBACK_FN> m_pMouseMoveCallback;
|
||||
|
||||
std::string m_szLastTitle;
|
||||
|
||||
|
|
|
@ -68,10 +68,10 @@ class COverview {
|
|||
|
||||
bool closing = false;
|
||||
|
||||
std::shared_ptr<HOOK_CALLBACK_FN> mouseMoveHook;
|
||||
std::shared_ptr<HOOK_CALLBACK_FN> mouseButtonHook;
|
||||
std::shared_ptr<HOOK_CALLBACK_FN> touchMoveHook;
|
||||
std::shared_ptr<HOOK_CALLBACK_FN> touchUpHook;
|
||||
SP<HOOK_CALLBACK_FN> mouseMoveHook;
|
||||
SP<HOOK_CALLBACK_FN> mouseButtonHook;
|
||||
SP<HOOK_CALLBACK_FN> touchMoveHook;
|
||||
SP<HOOK_CALLBACK_FN> touchUpHook;
|
||||
|
||||
bool swipe = false;
|
||||
bool swipeWasCommenced = false;
|
||||
|
|
|
@ -46,7 +46,7 @@ class CTrail : public IHyprWindowDecoration {
|
|||
virtual void damageEntire();
|
||||
|
||||
private:
|
||||
std::shared_ptr<HOOK_CALLBACK_FN> pTickCb;
|
||||
SP<HOOK_CALLBACK_FN> pTickCb;
|
||||
void onTick();
|
||||
|
||||
std::deque<std::pair<box, std::chrono::system_clock::time_point>> m_dLastGeoms;
|
||||
|
|
Loading…
Reference in a new issue