summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.cpp
diff options
context:
space:
mode:
authoreriedaberrie <64395218+eriedaberrie@users.noreply.github.com>2023-01-27 03:31:56 -0800
committerGitHub <noreply@github.com>2023-01-27 11:31:56 +0000
commitaf37a3895f810ebe3cc58600b0d9b2fcf449b2d1 (patch)
treedf6a412a5f71eaaeb2a533cafff04335199e5b16 /src/layout/IHyprLayout.cpp
parent666c8051016609d77c5651fb42113474832434d2 (diff)
fix: cursor changing on window move and resize (#1371)
* Just use grab cursor for everything
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
-rw-r--r--src/layout/IHyprLayout.cpp4
1 files 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();