diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-26 23:08:20 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-26 23:08:20 +0000 |
| commit | 2e21ad875bea2ed88c158db6128bc74bab9ac611 (patch) | |
| tree | 1bf068dedda707d81395e21b97ef5c986de42a0f /src/layout/IHyprLayout.cpp | |
| parent | 18ed73f091204e44304192bd90c21fe5463ab46d (diff) | |
fix cursor image on drag not resize
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
| -rw-r--r-- | src/layout/IHyprLayout.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 9e9f873c..75f95682 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -223,6 +223,9 @@ void IHyprLayout::onBeginDragWindow() { } } + if (g_pInputManager->dragMode != MBIND_RESIZE) + g_pInputManager->setCursorImageUntilUnset("grab"); + g_pHyprRenderer->damageWindow(DRAGGINGWINDOW); g_pKeybindManager->shadowKeybinds(); |
