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

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() {