Files
weston/libweston
Sergio Gómez 21e46364c0 libweston: Add view unmap listener to pointer constraints
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 e3079393c400e3dc6498234d1d092f3072fa8b44)
2023-05-16 10:54:29 +03:00
..
2018-12-09 14:50:54 +02:00
2022-03-03 17:00:15 -06:00
2022-03-03 17:00:15 -06:00
2022-03-03 17:00:15 -06:00
2021-07-31 15:28:20 +00:00
2021-02-24 10:01:17 -05:00
2016-06-23 17:44:54 +03:00