diff options
Diffstat (limited to 'src/events/Popups.cpp')
| -rw-r--r-- | src/events/Popups.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp index b56d0792..2649abce 100644 --- a/src/events/Popups.cpp +++ b/src/events/Popups.cpp @@ -173,6 +173,9 @@ void Events::listener_unmapPopupXDG(void* owner, void* data) { ASSERT(PPOPUP); + if (PPOPUP->popup->base->surface == g_pCompositor->m_pLastFocus) + g_pInputManager->releaseAllMouseButtons(); + SubsurfaceTree::destroySurfaceTree(PPOPUP->pSurfaceTree); int lx = 0, ly = 0; |
