mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-02 04:43:48 -07:00
clean draggedwindow in dragend
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user