internal: release buttons on unmap
This commit is contained in:
parent
c9f7afbf78
commit
d8645cd148
4 changed files with 10 additions and 0 deletions
|
|
@ -637,6 +637,8 @@ void Events::listener_unmapWindow(void* owner, void* data) {
|
|||
wasLastWindow = true;
|
||||
g_pCompositor->m_pLastWindow = nullptr;
|
||||
g_pCompositor->m_pLastFocus = nullptr;
|
||||
|
||||
g_pInputManager->releaseAllMouseButtons();
|
||||
}
|
||||
|
||||
PWINDOW->m_bMappedX11 = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue