mirror of https://github.com/hyprwm/Hyprland
layershell: release all mouse buttons before focus on new ls (#5219)
This commit is contained in:
parent
a94b902bef
commit
9bad62b85f
|
@ -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 New Issue