fix: cursor changing on window move and resize (#1371)

* Just use grab cursor for everything
This commit is contained in:
eriedaberrie
2023-01-27 03:31:56 -08:00
committed by GitHub
parent 666c805101
commit af37a3895f

View File

@@ -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();