summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUGS7
-rw-r--r--ChangeLog7
-rw-r--r--src/cairo-xlib-screen.c3
3 files changed, 10 insertions, 7 deletions
diff --git a/BUGS b/BUGS
index c8fa6063..20281bf4 100644
--- a/BUGS
+++ b/BUGS
@@ -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.
--
diff --git a/ChangeLog b/ChangeLog
index 8c731f08..161fcfb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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:
* test/caps-sub-paths.c: (main): Remove caps-sub-paths from the
XFAIL list since it is fixed now.
diff --git a/src/cairo-xlib-screen.c b/src/cairo-xlib-screen.c
index e71d10ec..8ac6d89c 100644
--- a/src/cairo-xlib-screen.c
+++ b/src/cairo-xlib-screen.c
@@ -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)
{