mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 00:21:56 -07:00
respect ls protocol by forcing kb focus to kb interactive top and overlay
This commit is contained in:
@@ -908,6 +908,14 @@ wlr_surface* CCompositor::vectorToLayerSurface(const Vector2D& pos, std::vector<
|
|||||||
SURFACEAT = (*it)->layerSurface->surface;
|
SURFACEAT = (*it)->layerSurface->surface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((*it)->layerSurface->current.keyboard_interactive && (*it)->layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) {
|
||||||
|
if (!SURFACEAT)
|
||||||
|
SURFACEAT = (*it)->layerSurface->surface;
|
||||||
|
|
||||||
|
*ppLayerSurfaceFound = it->get();
|
||||||
|
return SURFACEAT;
|
||||||
|
}
|
||||||
|
|
||||||
if (SURFACEAT) {
|
if (SURFACEAT) {
|
||||||
*ppLayerSurfaceFound = it->get();
|
*ppLayerSurfaceFound = it->get();
|
||||||
return SURFACEAT;
|
return SURFACEAT;
|
||||||
|
Reference in New Issue
Block a user