mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:29:48 +01:00
layershell: don't enter on unmapped ls
This commit is contained in:
parent
a483376591
commit
86ef85efae
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ void Events::listener_commitLayerSurface(void* owner, void* data) {
|
|||
|
||||
if (layersurface->layerSurface->current.keyboard_interactive &&
|
||||
(!g_pCompositor->m_sSeat.mouse || !g_pCompositor->m_sSeat.mouse->currentConstraint) // don't focus if constrained
|
||||
&& !layersurface->keyboardExclusive) {
|
||||
&& !layersurface->keyboardExclusive && layersurface->mapped) {
|
||||
g_pCompositor->focusSurface(layersurface->layerSurface->surface);
|
||||
|
||||
const auto LOCAL =
|
||||
|
|
Loading…
Reference in a new issue