mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 16:44:52 +00:00
This change is necessary to fix a segfault in intel driver at CloseScreen. sna_early_close_screen() releases the glyph cache using FreePicture(), which needs PictureScreen private of pScreen. It has already been released by PictureScreenClose(), which is a pre-hook, and segfault occurs. Hence it is necessary to move PictureScreenClose() to post-hooks. Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>