diff --git a/draw.c b/draw.c index db9cdb3d6..bea8ece5c 100644 --- a/draw.c +++ b/draw.c @@ -204,7 +204,6 @@ draw_context_init(draw_context_t *d, int phys_screen, d->phys_screen = phys_screen; d->width = width; d->height = height; - d->depth = s->root_depth; d->visual = draw_screen_default_visual(s); d->pixmap = px; d->surface = cairo_xcb_surface_create(globalconf.connection, px, d->visual, width, height); diff --git a/draw.h b/draw.h index ea74a9edb..5f7c84bb8 100644 --- a/draw.h +++ b/draw.h @@ -95,7 +95,6 @@ typedef struct uint16_t width; uint16_t height; int phys_screen; - uint8_t depth; cairo_t *cr; cairo_surface_t *surface; PangoLayout *layout;