mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 07:01:57 -07:00
fix: cursor changing on window move and resize (#1371)
* Just use grab cursor for everything
This commit is contained in:
@@ -146,8 +146,6 @@ void IHyprLayout::onBeginDragWindow() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_pInputManager->setCursorImageUntilUnset("hand1");
|
|
||||||
|
|
||||||
DRAGGINGWINDOW->m_bDraggingTiled = false;
|
DRAGGINGWINDOW->m_bDraggingTiled = false;
|
||||||
|
|
||||||
if (!DRAGGINGWINDOW->m_bIsFloating) {
|
if (!DRAGGINGWINDOW->m_bIsFloating) {
|
||||||
@@ -180,6 +178,8 @@ void IHyprLayout::onBeginDragWindow() {
|
|||||||
m_iGrabbedCorner = 3;
|
m_iGrabbedCorner = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_pInputManager->setCursorImageUntilUnset("grab");
|
||||||
|
|
||||||
g_pHyprRenderer->damageWindow(DRAGGINGWINDOW);
|
g_pHyprRenderer->damageWindow(DRAGGINGWINDOW);
|
||||||
|
|
||||||
g_pKeybindManager->shadowKeybinds();
|
g_pKeybindManager->shadowKeybinds();
|
||||||
|
Reference in New Issue
Block a user