mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-12-22 23:09:49 +01:00
unregister callback for mouse move (#15)
Co-authored-by: nehrbash <stephen.nehrbass@infinitetactics.com>
This commit is contained in:
parent
960a2ae4aa
commit
5c383dc5bc
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ CHyprBar::CHyprBar(CWindow* pWindow) {
|
|||
CHyprBar::~CHyprBar() {
|
||||
damageEntire();
|
||||
HyprlandAPI::unregisterCallback(PHANDLE, m_pMouseButtonCallback);
|
||||
HyprlandAPI::unregisterCallback(PHANDLE, m_pMouseMoveCallback);
|
||||
}
|
||||
|
||||
bool CHyprBar::allowsInput() {
|
||||
|
|
Loading…
Reference in a new issue