mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 10:45:58 +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))
|
if (!g_pCompositor->windowValidMapped(DRAGGINGWINDOW))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
g_pInputManager->currentlyDraggedWindow = nullptr;
|
||||||
|
|
||||||
if (DRAGGINGWINDOW->m_bDraggingTiled) {
|
if (DRAGGINGWINDOW->m_bDraggingTiled) {
|
||||||
DRAGGINGWINDOW->m_bIsFloating = false;
|
DRAGGINGWINDOW->m_bIsFloating = false;
|
||||||
g_pInputManager->refocus();
|
g_pInputManager->refocus();
|
||||||
|
|
Loading…
Reference in a new issue