mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 20:51:58 -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());
|
(!g_pCompositor->m_sSeat.mouse || !g_pInputManager->isConstrained());
|
||||||
|
|
||||||
if (GRABSFOCUS) {
|
if (GRABSFOCUS) {
|
||||||
|
g_pInputManager->releaseAllMouseButtons();
|
||||||
g_pCompositor->focusSurface(layersurface->layerSurface->surface);
|
g_pCompositor->focusSurface(layersurface->layerSurface->surface);
|
||||||
|
|
||||||
const auto LOCAL =
|
const auto LOCAL =
|
||||||
|
Reference in New Issue
Block a user