mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-12-22 15:09:47 +01:00
the code did nothing!
This commit is contained in:
parent
03aa75dd51
commit
683466d7e4
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue