diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-15 16:53:31 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-15 16:53:31 +0100 |
| commit | 4c4fcc128beb8dd73411b3d20388772018ffac53 (patch) | |
| tree | 94c1d199697dfd599661277311975aa43de88807 /src/Compositor.cpp | |
| parent | d6c4ae71d082eecefac40216b0a1b236daa3c0ab (diff) | |
input: fix ls focus in non-input area
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index f2081f7a..21229cb2 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -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); - 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 (!SURFACEAT) SURFACEAT = ls->layerSurface->surface; |
