internal: release buttons on unmap
This commit is contained in:
parent
c9f7afbf78
commit
d8645cd148
4 changed files with 10 additions and 0 deletions
|
|
@ -218,6 +218,8 @@ void Events::listener_unmapLayerSurface(void* owner, void* data) {
|
|||
|
||||
// refocus if needed
|
||||
if (WASLASTFOCUS) {
|
||||
g_pInputManager->releaseAllMouseButtons();
|
||||
|
||||
Vector2D surfaceCoords;
|
||||
SLayerSurface* pFoundLayerSurface = nullptr;
|
||||
wlr_surface* foundSurface = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue