mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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:
parent
e4acb74a5a
commit
b7f05f32c0
2 changed files with 0 additions and 2 deletions
1
draw.c
1
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);
|
||||
|
|
1
draw.h
1
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;
|
||||
|
|
Loading…
Reference in a new issue