commit | b3955b095317466afd05b474666eef938b7f72d0 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Thu Jan 23 16:25:06 2014 -0800 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Jan 23 16:25:06 2014 -0800 |
tree | 76146f9fa2ef66c91a91f4881d223544aaeefa87 | |
parent | d500bf1ac990d0d776c7a444a7478d2c9bb0e8fd [diff] |
compositor-drm: Set cursor surface to NULL when pageflip fails If we VT switch away between picking a cursor surface and actually doing the pageflip in drm_output_repaint(), we never set output->cursor_view to NULL. Then we unplug all the input devices and as the last pointer device goes away we destroy the cursor surface. Then when we switch back, we call drm_output_set_cursor() with an invalid surface and crashes. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73566