diff --git a/hyprbars/barDeco.cpp b/hyprbars/barDeco.cpp index 887429a..84b3449 100644 --- a/hyprbars/barDeco.cpp +++ b/hyprbars/barDeco.cpp @@ -134,19 +134,12 @@ void CHyprBar::onTouchDown(SCallbackInfo& info, ITouch::SDownEvent e) { Debug::log(LOG, "[hyprbars] Dragging ended on touchdown {:x}", (uintptr_t)PWINDOW.get()); } - if (m_bCancelledDown) - info.cancelled = true; - - m_bCancelledDown = false; - m_bDraggingThis = false; m_bDragPending = false; m_bTouchEv = false; return; } - g_pCompositor->warpCursorTo(Vector2D(e.pos.x, e.pos.y)); - if (PWINDOW->m_bIsFloating) g_pCompositor->changeWindowZOrder(PWINDOW, true);