mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 20:21:54 -07:00
layershell: release all mouse buttons before focus on new ls (#5219)
This commit is contained in:
@@ -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 =
|
||||
|
Reference in New Issue
Block a user