unregister callback for mouse move (#15)

Co-authored-by: nehrbash <stephen.nehrbass@infinitetactics.com>
This commit is contained in:
snehrbass 2023-04-28 10:27:39 -04:00 committed by GitHub
parent 960a2ae4aa
commit 5c383dc5bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ CHyprBar::CHyprBar(CWindow* pWindow) {
CHyprBar::~CHyprBar() {
damageEntire();
HyprlandAPI::unregisterCallback(PHANDLE, m_pMouseButtonCallback);
HyprlandAPI::unregisterCallback(PHANDLE, m_pMouseMoveCallback);
}
bool CHyprBar::allowsInput() {