From af37a3895f810ebe3cc58600b0d9b2fcf449b2d1 Mon Sep 17 00:00:00 2001 From: eriedaberrie <64395218+eriedaberrie@users.noreply.github.com> Date: Fri, 27 Jan 2023 03:31:56 -0800 Subject: [PATCH] fix: cursor changing on window move and resize (#1371) * Just use grab cursor for everything --- src/layout/IHyprLayout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 39b30bea..70959d3b 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -146,8 +146,6 @@ void IHyprLayout::onBeginDragWindow() { return; } - g_pInputManager->setCursorImageUntilUnset("hand1"); - DRAGGINGWINDOW->m_bDraggingTiled = false; if (!DRAGGINGWINDOW->m_bIsFloating) { @@ -180,6 +178,8 @@ void IHyprLayout::onBeginDragWindow() { m_iGrabbedCorner = 3; } + g_pInputManager->setCursorImageUntilUnset("grab"); + g_pHyprRenderer->damageWindow(DRAGGINGWINDOW); g_pKeybindManager->shadowKeybinds();