mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 16:05:58 +01:00
layershell: release all mouse buttons before focus on new ls (#5219)
This commit is contained in:
parent
a94b902bef
commit
9bad62b85f
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ void Events::listener_mapLayerSurface(void* owner, void* data) {
|
|||
(!g_pCompositor->m_sSeat.mouse || !g_pInputManager->isConstrained());
|
||||
|
||||
if (GRABSFOCUS) {
|
||||
g_pInputManager->releaseAllMouseButtons();
|
||||
g_pCompositor->focusSurface(layersurface->layerSurface->surface);
|
||||
|
||||
const auto LOCAL =
|
||||
|
|
Loading…
Reference in a new issue