internal: release buttons on unmap
This commit is contained in:
parent
c9f7afbf78
commit
d8645cd148
4 changed files with 10 additions and 0 deletions
|
|
@ -184,6 +184,9 @@ void Events::listener_unmapSubsurface(void* owner, void* data) {
|
|||
|
||||
Debug::log(LOG, "Subsurface %x unmapped", subsurface);
|
||||
|
||||
if (subsurface->pSubsurface->surface == g_pCompositor->m_pLastFocus)
|
||||
g_pInputManager->releaseAllMouseButtons();
|
||||
|
||||
if (subsurface->pChild) {
|
||||
const auto PNODE = subsurface->pChild;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue