mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-10 15:10:15 +01:00
Since the logic of pointer constraints assumes a valid view throughout, add a
signal to disable constraints when its current view is unmapped by Weston.
The assumption that a previously unmapped view is valid already leads to the
constraints code crashing. This can happen when attaching a NULL buffer to the
surface and commiting, which effectively unmaps the view with the side effect of
clearing the surface's input region, which is then assumed valid inside
maybe_warp_confined_pointer().
Fixes: #721
Signed-off-by: Sergio Gómez <sergio.g.delreal@gmail.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| backend-drm.h | ||
| backend-headless.h | ||
| backend-rdp.h | ||
| backend-wayland.h | ||
| backend-x11.h | ||
| config-parser.h | ||
| libweston.h | ||
| matrix.h | ||
| meson.build | ||
| pipewire-plugin.h | ||
| plugin-registry.h | ||
| remoting-plugin.h | ||
| version.h.in | ||
| weston-log.h | ||
| windowed-output-api.h | ||
| xwayland-api.h | ||
| zalloc.h | ||