diff --git a/hyprbars/barDeco.cpp b/hyprbars/barDeco.cpp index 0e84e5b..7de61a4 100644 --- a/hyprbars/barDeco.cpp +++ b/hyprbars/barDeco.cpp @@ -80,7 +80,7 @@ void CHyprBar::onMouseDown(SCallbackInfo& info, IPointer::SButtonEvent e) { return; } - if (!e.state != WL_POINTER_BUTTON_STATE_PRESSED) { + if (e.state != WL_POINTER_BUTTON_STATE_PRESSED) { if (m_bCancelledDown) info.cancelled = true;