diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2017-03-08 10:32:22 +0100 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2017-03-09 17:37:05 +0900 |
commit | 937527f9798d573ec82c2c508821899c229c018f (patch) | |
tree | 6fe7201ec500640ad8373c3c037d63f7d0664f05 /render | |
parent | 669eb0a65430678fe97de9405e4e42dcb4417ed2 (diff) |
xwayland: Monitor client states to destroy callbacks
Client resources can survive the client itself, in which case we
may end up in our sync callback trying to access client's data after
it's been freed/reclaimed.
Add a ClientStateCallback handler to monitor the client state changes
and clear the sync callback set up by the glamor drm code if any.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=100040
Tested-by: Mark B <mark.blakeney@bullet-systems.net>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'render')
0 files changed, 0 insertions, 0 deletions