https://bugs.kde.org/show_bug.cgi?id=482448

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/bfd755aee9
                   |                            |282882dc82d8ce2e44ff4277cc5
                   |                            |830
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit bfd755aee9282882dc82d8ce2e44ff4277cc5830 by Vlad Zahorodnii.
Committed on 05/03/2024 at 13:23.
Pushed by vladz into branch 'master'.

Fix confined pointer being able to escape the surface

When using fractional scaling, an xwayland window's client geometry can
have some fractional part. When that's the case, .toRect() can shrink the
client geometry or extruding the decoration borders inside the surface.

On the other hand, the pointer is going to be confined as long as the
wl_surface is focused. If the focus jumps to the decoration, the pointer
constraint is going to be broken. Unfortunately, the focus can shift to
the decoration even though the wl_surface is still focused because of the
pesky .toRect().
Related: bug 477124

M  +1    -1    src/input.cpp

https://invent.kde.org/plasma/kwin/-/commit/bfd755aee9282882dc82d8ce2e44ff4277cc5830

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to