mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 15:45:59 +01:00
fix: cursor changing on window move and resize (#1371)
* Just use grab cursor for everything
This commit is contained in:
parent
666c805101
commit
af37a3895f
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue