diff options
Diffstat (limited to 'src/desktop/Window.cpp')
| -rw-r--r-- | src/desktop/Window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp index 4318dbbc..b81cb1a4 100644 --- a/src/desktop/Window.cpp +++ b/src/desktop/Window.cpp @@ -453,6 +453,8 @@ void CWindow::onUnmap() { if (g_pCompositor->m_pLastWindow == this) g_pCompositor->m_pLastWindow = nullptr; + if (g_pInputManager->currentlyDraggedWindow == this) + g_pInputManager->currentlyDraggedWindow = nullptr; m_iLastWorkspace = m_pWorkspace->m_iID; |
