mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 05:09:49 +01:00
input: fix ls focus in non-input area
This commit is contained in:
parent
d6c4ae71d0
commit
4c4fcc128b
1 changed files with 0 additions and 4 deletions
|
@ -995,10 +995,6 @@ wlr_surface* CCompositor::vectorToLayerSurface(const Vector2D& pos, std::vector<
|
||||||
|
|
||||||
auto SURFACEAT = wlr_layer_surface_v1_surface_at(ls->layerSurface, pos.x - ls->geometry.x, pos.y - ls->geometry.y, &sCoords->x, &sCoords->y);
|
auto SURFACEAT = wlr_layer_surface_v1_surface_at(ls->layerSurface, pos.x - ls->geometry.x, pos.y - ls->geometry.y, &sCoords->x, &sCoords->y);
|
||||||
|
|
||||||
if (!SURFACEAT && VECINRECT(pos, ls->geometry.x, ls->geometry.y, ls->geometry.x + ls->geometry.width, ls->geometry.y + ls->geometry.height)) {
|
|
||||||
SURFACEAT = ls->layerSurface->surface;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ls->layerSurface->current.keyboard_interactive && ls->layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) {
|
if (ls->layerSurface->current.keyboard_interactive && ls->layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) {
|
||||||
if (!SURFACEAT)
|
if (!SURFACEAT)
|
||||||
SURFACEAT = ls->layerSurface->surface;
|
SURFACEAT = ls->layerSurface->surface;
|
||||||
|
|
Loading…
Reference in a new issue