mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 18:29:50 +01:00
clean draggedwindow in dragend
This commit is contained in:
parent
cb4f748226
commit
85d1b06a79
1 changed files with 2 additions and 0 deletions
|
@ -190,6 +190,8 @@ void IHyprLayout::onEndDragWindow() {
|
|||
if (!g_pCompositor->windowValidMapped(DRAGGINGWINDOW))
|
||||
return;
|
||||
|
||||
g_pInputManager->currentlyDraggedWindow = nullptr;
|
||||
|
||||
if (DRAGGINGWINDOW->m_bDraggingTiled) {
|
||||
DRAGGINGWINDOW->m_bIsFloating = false;
|
||||
g_pInputManager->refocus();
|
||||
|
|
Loading…
Reference in a new issue