summaryrefslogtreecommitdiff
path: root/src/cairo-xcb-connection.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2011-06-24 15:52:59 +0200
committerUli Schlachter <psychon@znc.in>2011-06-24 15:52:59 +0200
commit144c912860af6e60e1bdbeee31fe686c9c5e550d (patch)
tree3da3994f821153055a0f55cf5901332b421645e1 /src/cairo-xcb-connection.c
parentd246d97592fc9df7ac914e1f97e2d834c7b975a5 (diff)
downloadcairo-144c912860af6e60e1bdbeee31fe686c9c5e550d.tar.gz
xcb: Initialize the new precision fields
In 63bdae27a83, new fields were added to cairo_xcb_connection_t and cairo_xcb_surface_t. The same change was done in the xlib backend. However, in the xlib backend these new fields were properly initialized. This was forgotten in the xcb backend. Hopefully-Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38482 Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-xcb-connection.c')
-rw-r--r--src/cairo-xcb-connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-xcb-connection.c b/src/cairo-xcb-connection.c
index 483078896..0c3bd5ae8 100644
--- a/src/cairo-xcb-connection.c
+++ b/src/cairo-xcb-connection.c
@@ -665,6 +665,7 @@ _cairo_xcb_connection_get (xcb_connection_t *xcb_connection)
CAIRO_MUTEX_LOCK (connection->device.mutex);
connection->flags = 0;
+ connection->force_precision = -1;
xcb_prefetch_extension_data (xcb_connection, &xcb_big_requests_id);
xcb_prefetch_extension_data (xcb_connection, &xcb_render_id);