Move comment about missing cleanup of caches on XCloseDisplay from BUGS to a _cairo_xlib_close_display. Also covered in bug #4120.

This commit is contained in:
Carl Worth 2005-08-23 08:21:46 +00:00
parent 60f9c8d9fd
commit 0c2aa6e6ab
3 changed files with 10 additions and 7 deletions

7
BUGS
View file

@ -1,10 +1,3 @@
cairo-xlib-surface needs to do the Xlib register extension hack so
that it can listen for a Display close event. When it gets that, it
needs to run through its caches and eliminate anything associated with
that display.
--
The caches need to be invalidated at font destruction time.
--

View file

@ -1,3 +1,10 @@
2005-08-23 Carl Worth <cworth@cworth.org>
* BUGS:
* src/cairo-xlib-screen.c: Move comment about missing cleanup of
caches on XCloseDisplay from BUGS to a
_cairo_xlib_close_display. Also covered in bug #4120.
2005-08-23 Carl Worth <cworth@cworth.org>
* test/Makefile.am:

View file

@ -247,6 +247,9 @@ CAIRO_MUTEX_DECLARE(_xlib_screen_mutex);
static cairo_xlib_screen_info_t *_cairo_xlib_screen_list = NULL;
/* XXX: From this function we should also run through and cleanup
* anything else that still has a pointer to this Display*. For
* example, we should clean up any Xlib-specific glyph caches. */
static int
_cairo_xlib_close_display (Display *dpy, XExtCodes *codes)
{