internal: release buttons on unmap
This commit is contained in:
parent
c9f7afbf78
commit
d8645cd148
4 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue