draw_context_t's depth member is unused, remove it

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Uli Schlachter 2009-06-03 11:58:15 +02:00 committed by Julien Danjou
parent e4acb74a5a
commit b7f05f32c0
2 changed files with 0 additions and 2 deletions

1
draw.c
View file

@ -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);

1
draw.h
View file

@ -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;