From 683466d7e4c2fda319ae859e53230730f5bb58e6 Mon Sep 17 00:00:00 2001 From: caffeine01 Date: Wed, 18 Dec 2024 01:34:25 +0000 Subject: [PATCH] the code did nothing! --- hyprbars/barDeco.cpp | 7 ------- 1 file changed, 7 deletions(-) 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);